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:
parent
e388234f5a
commit
fcff2d9942
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459428
@ -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
|
||||
|
15
games/shaaft/files/patch-utilsgl_gl++.hpp
Normal file
15
games/shaaft/files/patch-utilsgl_gl++.hpp
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user