[34784] trunk/dports/devel/plib

jmr at macports.org jmr at macports.org
Tue Mar 4 20:49:02 PST 2008


Revision: 34784
          http://trac.macosforge.org/projects/macports/changeset/34784
Author:   jmr at macports.org
Date:     2008-03-04 20:49:01 -0800 (Tue, 04 Mar 2008)

Log Message:
-----------
plib: fix building on Leopard. Closes #13625.

Modified Paths:
--------------
    trunk/dports/devel/plib/Portfile

Added Paths:
-----------
    trunk/dports/devel/plib/files/patch-src_ssg_ssgLoadFLT.cxx.diff

Modified: trunk/dports/devel/plib/Portfile
===================================================================
--- trunk/dports/devel/plib/Portfile	2008-03-05 04:41:27 UTC (rev 34783)
+++ trunk/dports/devel/plib/Portfile	2008-03-05 04:49:01 UTC (rev 34784)
@@ -24,6 +24,10 @@
 
 patchfiles			patch-src_js_jsMacOSX.cxx.diff patch-src_pw_pwMacOSX.cxx.diff
 
+platform darwin 9 {
+	patchfiles-append	patch-src_ssg_ssgLoadFLT.cxx.diff
+}
+
 configure.args		--with-x
 
 post-destroot {

Added: trunk/dports/devel/plib/files/patch-src_ssg_ssgLoadFLT.cxx.diff
===================================================================
--- trunk/dports/devel/plib/files/patch-src_ssg_ssgLoadFLT.cxx.diff	                        (rev 0)
+++ trunk/dports/devel/plib/files/patch-src_ssg_ssgLoadFLT.cxx.diff	2008-03-05 04:49:01 UTC (rev 34784)
@@ -0,0 +1,12 @@
+diff -ur plib-1.8.4-orig/src/ssg/ssgLoadFLT.cxx plib-1.8.4/src/ssg/ssgLoadFLT.cxx
+--- src/ssg/ssgLoadFLT.cxx	2003-04-17 07:10:12.000000000 -0600
++++ src/ssg/ssgLoadFLT.cxx	2007-10-30 09:09:50.000000000 -0600
+@@ -142,7 +142,7 @@
+ 
+ typedef unsigned char ubyte;
+ 
+-#ifdef UL_WIN32
++#if defined(UL_WIN32) || defined(__APPLE__)
+ typedef unsigned short ushort;
+ typedef unsigned int uint;
+ #endif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080304/bd077ee0/attachment.html 


More information about the macports-changes mailing list