mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-01 01:17:02 +00:00
- Fix undefined symbol errors when including glut.h just after glew.h in
applications which depends on both of them. - Bumped PORTREVISION. PR: ports/91944 Submitted by: maintainer
This commit is contained in:
parent
18d3f04b0b
commit
18f1ca848c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=153826
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= glew
|
||||
PORTVERSION= 1.3.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
13
graphics/glew/files/patch-include_GL_glew.h
Normal file
13
graphics/glew/files/patch-include_GL_glew.h
Normal file
@ -0,0 +1,13 @@
|
||||
--- include/GL/glew.h.orig
|
||||
+++ include/GL/glew.h
|
||||
@@ -9647,7 +9647,9 @@
|
||||
#ifdef GLEW_APIENTRY_DEFINED
|
||||
#undef GLEW_APIENTRY_DEFINED
|
||||
#undef APIENTRY
|
||||
-#undef GLAPIENTRY
|
||||
+/* Do not undef GLAPIENTRY here. This is a quick hack to avoid
|
||||
+ undefined symbols when including glut.h just after glew.h */
|
||||
+/* #undef GLAPIENTRY */
|
||||
#endif
|
||||
|
||||
#ifdef GLEW_CALLBACK_DEFINED
|
Loading…
Reference in New Issue
Block a user