[34975] trunk/dports/www/mozilla

jmr at macports.org jmr at macports.org
Thu Mar 13 05:30:18 PDT 2008


Revision: 34975
          http://trac.macosforge.org/projects/macports/changeset/34975
Author:   jmr at macports.org
Date:     2008-03-13 05:30:17 -0700 (Thu, 13 Mar 2008)

Log Message:
-----------
mozilla: partly fix building on Leopard. See #14560.

Modified Paths:
--------------
    trunk/dports/www/mozilla/Portfile

Added Paths:
-----------
    trunk/dports/www/mozilla/files/patch-nsprpub_pr_include_md__pth.h.diff

Modified: trunk/dports/www/mozilla/Portfile
===================================================================
--- trunk/dports/www/mozilla/Portfile	2008-03-13 11:51:20 UTC (rev 34974)
+++ trunk/dports/www/mozilla/Portfile	2008-03-13 12:30:17 UTC (rev 34975)
@@ -67,6 +67,8 @@
 		depends_lib-delete lib:libgtk.2:gtk2
 }
 
+patch.pre_args            -p1
+
 platform darwin 8 {
     pre-fetch {
         set fl [open "| gcc --version"]
@@ -78,6 +80,9 @@
         }
     }
     patchfiles                292530.aviary_10x.2.patch patch-oiddata.h
-    patch.pre_args            -p1
 }
 
+platform darwin 9 {
+    patchfiles                292530.aviary_10x.2.patch patch-oiddata.h \
+                              patch-nsprpub_pr_include_md__pth.h.diff
+}

Added: trunk/dports/www/mozilla/files/patch-nsprpub_pr_include_md__pth.h.diff
===================================================================
--- trunk/dports/www/mozilla/files/patch-nsprpub_pr_include_md__pth.h.diff	                        (rev 0)
+++ trunk/dports/www/mozilla/files/patch-nsprpub_pr_include_md__pth.h.diff	2008-03-13 12:30:17 UTC (rev 34975)
@@ -0,0 +1,11 @@
+--- mozilla/nsprpub/pr/include/md/_pth.h.orig	2003-09-17 06:44:04.000000000 +1000
++++ mozilla/nsprpub/pr/include/md/_pth.h	2008-03-13 22:53:49.000000000 +1100
+@@ -198,7 +198,7 @@
+ /*
+  * These platforms don't have pthread_kill()
+  */
+-#if defined(DARWIN)
++#if 0
+ #define pthread_kill(thread, sig) ENOSYS
+ #endif
+ 

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


More information about the macports-changes mailing list