[73517] trunk/dports/lang/javascript-lint

jmr at macports.org jmr at macports.org
Tue Nov 16 01:22:48 PST 2010


Revision: 73517
          http://trac.macports.org/changeset/73517
Author:   jmr at macports.org
Date:     2010-11-16 01:22:44 -0800 (Tue, 16 Nov 2010)
Log Message:
-----------
javascript-lint: fix 64-bit build (#20566)

Modified Paths:
--------------
    trunk/dports/lang/javascript-lint/Portfile

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

Modified: trunk/dports/lang/javascript-lint/Portfile
===================================================================
--- trunk/dports/lang/javascript-lint/Portfile	2010-11-16 09:10:30 UTC (rev 73516)
+++ trunk/dports/lang/javascript-lint/Portfile	2010-11-16 09:22:44 UTC (rev 73517)
@@ -15,6 +15,8 @@
 distname	jsl-${version}-src
 checksums	md5 2b94ffa4fab07acabe0c5e73cd49bcdf
 
+patchfiles	patch-jsprf.c
+
 use_configure	no
 worksrcdir	jsl-${version}/src
 

Added: trunk/dports/lang/javascript-lint/files/patch-jsprf.c
===================================================================
--- trunk/dports/lang/javascript-lint/files/patch-jsprf.c	                        (rev 0)
+++ trunk/dports/lang/javascript-lint/files/patch-jsprf.c	2010-11-16 09:22:44 UTC (rev 73517)
@@ -0,0 +1,11 @@
+--- jsprf.c.orig	2006-10-26 05:41:48.000000000 +1000
++++ jsprf.c	2010-11-16 20:18:31.000000000 +1100
+@@ -56,6 +56,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/20101116/ab4ca501/attachment.html>


More information about the macports-changes mailing list