[svn:parrot] r45835 - trunk/config/gen

japhb at svn.parrot.org japhb at svn.parrot.org
Tue Apr 20 22:38:52 UTC 2010


Author: japhb
Date: Tue Apr 20 22:38:52 2010
New Revision: 45835
URL: https://trac.parrot.org/parrot/changeset/45835

Log:
[OpenGL] Work around bug in at least glext.h in Mac OS X 10.6.3

Modified:
   trunk/config/gen/opengl.pm

Modified: trunk/config/gen/opengl.pm
==============================================================================
--- trunk/config/gen/opengl.pm	Tue Apr 20 22:11:20 2010	(r45834)
+++ trunk/config/gen/opengl.pm	Tue Apr 20 22:38:52 2010	(r45835)
@@ -516,6 +516,7 @@
 #         "$ENV{HOME}/src/osx-insane/usr/X11/include/GL/*.h",
 #         "$ENV{HOME}/src/osx-insane/usr/X11/include/GL/internal/*.h",
 #         "$ENV{HOME}/src/osx-insane/usr/X11R6 1/include/GL/*.h",
+#         "$ENV{HOME}/src/osx-10.6.3/Headers/*.h",
     );
 
     # X freeglut only if DISPLAY is set, otherwise use native w32api GLUT
@@ -663,6 +664,9 @@
             next if     /^#/;
             next if     /\btypedef\b/;
 
+            # Work around bug in Mac OS X headers (glext.h as of 10.6.3, at least)
+            next if /^\s*extern\s+\w+\s+\(\*\s+/;
+
             # Skip where we are explicitly told to do so
             next if /\bFGUNUSED\b/;
 


More information about the parrot-commits mailing list