[44402] trunk/dports/graphics/ftgl

blb at macports.org blb at macports.org
Sat Dec 27 16:33:04 PST 2008


Revision: 44402
          http://trac.macports.org/changeset/44402
Author:   blb at macports.org
Date:     2008-12-27 16:33:03 -0800 (Sat, 27 Dec 2008)
Log Message:
-----------
graphics/ftgl - patch source to avoid issue with GLUTesselatorFunction on 10.5, ticket #17746 (maintainer timeout)

Modified Paths:
--------------
    trunk/dports/graphics/ftgl/Portfile

Added Paths:
-----------
    trunk/dports/graphics/ftgl/files/patch-src-FTVectoriser.cpp.diff

Modified: trunk/dports/graphics/ftgl/Portfile
===================================================================
--- trunk/dports/graphics/ftgl/Portfile	2008-12-28 00:26:24 UTC (rev 44401)
+++ trunk/dports/graphics/ftgl/Portfile	2008-12-28 00:33:03 UTC (rev 44402)
@@ -3,6 +3,7 @@
 PortSystem				1.0
 name							ftgl
 version						2.1.2
+revision					1
 platforms					darwin
 categories				graphics
 maintainers				krugazor at free.fr
@@ -25,6 +26,7 @@
 									patch-Makefile.diff \
 									patch-demo-Makefile.diff \
 									patch-docs-Makefile.diff \
-									patch-src-Makefile.diff
+									patch-src-Makefile.diff \
+									patch-src-FTVectoriser.cpp.diff
 
 livecheck.distname	FTGL Source

Added: trunk/dports/graphics/ftgl/files/patch-src-FTVectoriser.cpp.diff
===================================================================
--- trunk/dports/graphics/ftgl/files/patch-src-FTVectoriser.cpp.diff	                        (rev 0)
+++ trunk/dports/graphics/ftgl/files/patch-src-FTVectoriser.cpp.diff	2008-12-28 00:33:03 UTC (rev 44402)
@@ -0,0 +1,15 @@
+--- ../src/FTVectoriser.cpp.orig	2004-12-10 02:51:56.000000000 -0700
++++ ../src/FTVectoriser.cpp	2008-12-24 00:55:55.000000000 -0700
+@@ -6,7 +6,11 @@
+ #endif
+ 
+ #ifdef __APPLE_CC__    
+-    typedef GLvoid (*GLUTesselatorFunction)(...);
++    #if __APPLE_CC__ < 5465
++        typedef GLvoid (*GLUTesselatorFunction)(...);
++    #else
++        typedef GLvoid (*GLUTesselatorFunction)();
++    #endif
+ #elif defined( __mips ) || defined( __linux__ ) || defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __sun ) || defined (__CYGWIN__)
+     typedef GLvoid (*GLUTesselatorFunction)();
+ #elif defined ( WIN32)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081227/15123bf3/attachment.html>


More information about the macports-changes mailing list