[73022] trunk/dports/sysutils/rpm52
afb at macports.org
afb at macports.org
Mon Nov 1 04:46:20 PDT 2010
Revision: 73022
http://trac.macports.org/changeset/73022
Author: afb at macports.org
Date: 2010-11-01 04:46:17 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
fix old javascript issue on Snow Leopard x86_64 (#25467)
Modified Paths:
--------------
trunk/dports/sysutils/rpm52/Portfile
Added Paths:
-----------
trunk/dports/sysutils/rpm52/files/patch-jsprf.c
trunk/dports/sysutils/rpm52/files/patch-jsstddef.h
Modified: trunk/dports/sysutils/rpm52/Portfile
===================================================================
--- trunk/dports/sysutils/rpm52/Portfile 2010-11-01 11:44:30 UTC (rev 73021)
+++ trunk/dports/sysutils/rpm52/Portfile 2010-11-01 11:46:17 UTC (rev 73022)
@@ -37,7 +37,7 @@
bin:bzip2:bzip2 \
bin:unzip:unzip
-patchfiles patch-macros.in
+patchfiles patch-macros.in patch-jsstddef.h patch-jsprf.c
post-patch {
file copy ${worksrcpath}/js/src/jsfile.msg ${worksrcpath}/js/rpmjsfile.msg
Added: trunk/dports/sysutils/rpm52/files/patch-jsprf.c
===================================================================
--- trunk/dports/sysutils/rpm52/files/patch-jsprf.c (rev 0)
+++ trunk/dports/sysutils/rpm52/files/patch-jsprf.c 2010-11-01 11:46:17 UTC (rev 73022)
@@ -0,0 +1,17 @@
+Index: js/src/jsprf.c
+===================================================================
+RCS file: /v/rpm/cvs/js/src/jsprf.c,v
+retrieving revision 1.1.1.1
+retrieving revision 1.1.1.1.2.2
+diff -u -r1.1.1.1 -r1.1.1.1.2.2
+--- js/src/jsprf.c 20 Apr 2009 18:27:13 -0000 1.1.1.1
++++ js/src/jsprf.c 24 Jul 2009 11:18:57 -0000 1.1.1.1.2.2
+@@ -57,7 +57,7 @@
+ ** and requires array notation.
+ */
+ #ifdef HAVE_VA_COPY
+-#define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar)
++#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
Added: trunk/dports/sysutils/rpm52/files/patch-jsstddef.h
===================================================================
--- trunk/dports/sysutils/rpm52/files/patch-jsstddef.h (rev 0)
+++ trunk/dports/sysutils/rpm52/files/patch-jsstddef.h 2010-11-01 11:46:17 UTC (rev 73022)
@@ -0,0 +1,11 @@
+--- js/src/jsstddef.h.orig 2009-04-20 20:27:12.000000000 +0200
++++ js/src/jsstddef.h 2009-07-24 22:56:46.000000000 +0200
+@@ -79,5 +79,8 @@
+ #endif
+
+ #include <stddef.h>
++#ifdef HAVE_CONFIG_H
++#include <config.h>
++#endif
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101101/c36e77b7/attachment.html>
More information about the macports-changes
mailing list