[50953] trunk/dports/graphics/glew/files/darwin-glx.patch
jeremyhu at macports.org
jeremyhu at macports.org
Wed May 13 20:22:58 PDT 2009
Revision: 50953
http://trac.macports.org/changeset/50953
Author: jeremyhu at macports.org
Date: 2009-05-13 20:22:56 -0700 (Wed, 13 May 2009)
Log Message:
-----------
glew: Added missing patch, sorry
Added Paths:
-----------
trunk/dports/graphics/glew/files/darwin-glx.patch
Added: trunk/dports/graphics/glew/files/darwin-glx.patch
===================================================================
--- trunk/dports/graphics/glew/files/darwin-glx.patch (rev 0)
+++ trunk/dports/graphics/glew/files/darwin-glx.patch 2009-05-14 03:22:56 UTC (rev 50953)
@@ -0,0 +1,20 @@
+--- src/glew.c.orig 2009-05-12 10:28:26.000000000 -0700
++++ src/glew.c 2009-05-12 10:29:37.000000000 -0700
+@@ -65,7 +65,7 @@
+ # define GLXEW_CONTEXT_ARG_DEF_LIST void
+ #endif /* GLEW_MX */
+
+-#if defined(__APPLE__)
++#if defined(__APPLE__) && !defined(GLEW_APPLE_GLX)
+ #include <mach-o/dyld.h>
+ #include <stdlib.h>
+ #include <string.h>
+@@ -121,7 +121,7 @@ void* dlGetProcAddress (const GLubyte* n
+ #if defined(_WIN32)
+ # define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
+ #else
+-# if defined(__APPLE__)
++# if defined(__APPLE__) && !defined(GLEW_APPLE_GLX)
+ # define glewGetProcAddress(name) NSGLGetProcAddress(name)
+ # else
+ # if defined(__sgi) || defined(__sun)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090513/62d82750/attachment.html>
More information about the macports-changes
mailing list