1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00

Unbreak the port presumably everywhere by not trying to redefine GLintptrARB

and GLsizeiptrARB: they are already (correctly) defined in <GL/gl.h>.  While
here, set USE_GL to `gl' instead of old-school, umbrella `yes'.
This commit is contained in:
Alexey Dokuchaev 2018-01-19 15:08:00 +00:00
parent e388234f5a
commit fcff2d9942
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459428
2 changed files with 16 additions and 4 deletions

View File

@ -15,12 +15,9 @@ LIB_DEPENDS= libpng.so:graphics/png
CONFLICTS= criticalmass-*
BROKEN_aarch64= fails to compile: error: conflicting declaration typedef int GLintptrARB
BROKEN_sparc64= does not compile
USES= tar:bzip2
USE_SDL= mixer image sdl
USE_GL= yes
USE_GL= gl
USE_GCC= any
USE_CXXSTD= gnu++98
GNU_CONFIGURE= yes

View File

@ -0,0 +1,15 @@
--- utilsgl/gl++.hpp.orig 2004-01-01 04:32:28 UTC
+++ utilsgl/gl++.hpp
@@ -27,12 +27,6 @@
# if defined(_WIN64)
typedef __int64 GLintptrARB;
typedef __int64 GLsizeiptrARB;
-# elif defined(__ia64__) || defined(__x86_64__)
- typedef long int GLintptrARB;
- typedef long int GLsizeiptrARB;
-# else
- typedef int GLintptrARB;
- typedef int GLsizeiptrARB;
# endif
#endif