Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
1083-wx-Fix-configure-to-work-with-Werror.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 1083-wx-Fix-configure-to-work-with-Werror.patch of Package erlang
From ab920443004e1ac0d56140035514515253864007 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Thu, 7 Jan 2021 14:49:52 +0100 Subject: [PATCH 11/11] wx: Fix configure to work with -Werror --- lib/wx/configure.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/wx/configure.in b/lib/wx/configure.in index 57212302ae..4b6e95b9e9 100644 --- a/lib/wx/configure.in +++ b/lib/wx/configure.in @@ -587,8 +587,6 @@ AC_CHECK_TYPES([GLintptr, GLintptrARB, GLchar, # include <OpenGL/gl.h> #endif ]) - -dnl AC_MSG_CHECKING(GLU Callbacks uses Tiger Style) AC_LANG_PUSH(C++) @@ -610,7 +608,7 @@ AC_TRY_COMPILE([ void CALLBACK foo() {}; ], [ - GLUtesselator* tess; + GLUtesselator* tess; gluTessCallback(tess,GLU_TESS_VERTEX,(GLvoid (*)(...)) foo); ], [TESS_CB_TIGER_STYLE=yes @@ -668,7 +666,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([ wxStyledTextCtrl * foo = new wxStyledTextCtrl(); wxGLCanvas * bar = new wxGLCanvas((wxWindow *) NULL, -1, wxDefaultPosition,wxDefaultSize,0); - return true; + return foo; }; }; IMPLEMENT_APP(MyApp) -- 2.26.2
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor