aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-01-18 17:20:18 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-01-18 17:20:18 +0000
commit18f1ca848c979ca305553d78652800c41a102724 (patch)
tree88ef47dcc6675cbbc5e2510dd1e3d957ccc8a0d7 /graphics
parent18d3f04b0bc9ea391d2ce3d0cb3c7717d49adde8 (diff)
downloadports-18f1ca848c979ca305553d78652800c41a102724.tar.gz
ports-18f1ca848c979ca305553d78652800c41a102724.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/glew/Makefile1
-rw-r--r--graphics/glew/files/patch-include_GL_glew.h13
2 files changed, 14 insertions, 0 deletions
diff --git a/graphics/glew/Makefile b/graphics/glew/Makefile
index 332e83e4fd05..fcb4afb5de89 100644
--- a/graphics/glew/Makefile
+++ b/graphics/glew/Makefile
@@ -7,6 +7,7 @@
PORTNAME= glew
PORTVERSION= 1.3.3
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/glew/files/patch-include_GL_glew.h b/graphics/glew/files/patch-include_GL_glew.h
new file mode 100644
index 000000000000..3782f61049e8
--- /dev/null
+++ b/graphics/glew/files/patch-include_GL_glew.h
@@ -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