[54402] trunk/dports/lang/spidermonkey

toby at macports.org toby at macports.org
Sun Jul 26 12:39:06 PDT 2009


Revision: 54402
          http://trac.macports.org/changeset/54402
Author:   toby at macports.org
Date:     2009-07-26 12:39:06 -0700 (Sun, 26 Jul 2009)
Log Message:
-----------
#20146 (spidermonkey build fail in 10.6)

Modified Paths:
--------------
    trunk/dports/lang/spidermonkey/Portfile

Added Paths:
-----------
    trunk/dports/lang/spidermonkey/files/patch-jsprf.c

Modified: trunk/dports/lang/spidermonkey/Portfile
===================================================================
--- trunk/dports/lang/spidermonkey/Portfile	2009-07-26 19:25:49 UTC (rev 54401)
+++ trunk/dports/lang/spidermonkey/Portfile	2009-07-26 19:39:06 UTC (rev 54402)
@@ -30,7 +30,8 @@
 patchfiles          spidermonkey-1.5-build.patch \
                     spidermonkey-1.5-threadsafe.diff \
                     spidermonkey-1.5-header.diff \
-                    patch-config-Darwin.mk
+                    patch-config-Darwin.mk \
+                    patch-jsprf.c
 
 post-patch {
     reinplace "s|__PREFIX__|${prefix}|g" \

Added: trunk/dports/lang/spidermonkey/files/patch-jsprf.c
===================================================================
--- trunk/dports/lang/spidermonkey/files/patch-jsprf.c	                        (rev 0)
+++ trunk/dports/lang/spidermonkey/files/patch-jsprf.c	2009-07-26 19:39:06 UTC (rev 54402)
@@ -0,0 +1,11 @@
+--- jsprf.c.orig	2009-07-26 12:32:01.000000000 -0700
++++ jsprf.c	2009-07-26 12:33:12.000000000 -0700
+@@ -58,6 +58,8 @@
+ */
+ #ifdef HAVE_VA_COPY
+ #define VARARGS_ASSIGN(foo, bar)        VA_COPY(foo,bar)
++#elif defined(va_copy)
++#define VARARGS_ASSIGN(foo, bar)        va_copy(foo,bar)
+ #elif defined(HAVE_VA_LIST_AS_ARRAY)
+ #define VARARGS_ASSIGN(foo, bar)        foo[0] = bar[0]
+ #else
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090726/ba364544/attachment-0001.html>


More information about the macports-changes mailing list