diff --git a/js-1.5-va_copy.patch b/js-1.5-va_copy.patch index 7c34f74..7845858 100644 --- a/js-1.5-va_copy.patch +++ b/js-1.5-va_copy.patch @@ -1,7 +1,6 @@ -diff -Naupr js.orig/src/config/Linux_All.mk js/src/config/Linux_All.mk ---- js.orig/src/config/Linux_All.mk 2005-05-10 21:53:44.000000000 +0200 -+++ js/src/config/Linux_All.mk 2006-01-26 11:38:12.000000000 +0100 -@@ -91,8 +91,12 @@ endif +--- js/src/config/Linux_All.mk.vacopy 2009-05-29 10:35:14.000000000 +0200 ++++ js/src/config/Linux_All.mk 2009-05-29 10:44:55.000000000 +0200 +@@ -91,8 +91,17 @@ endif JS_EDITLINE = 1 ifeq ($(CPU_ARCH),x86_64) @@ -13,6 +12,11 @@ diff -Naupr js.orig/src/config/Linux_All.mk js/src/config/Linux_All.mk + +ifeq ($(CPU_ARCH),ppc) +# Use va_copy() standard macro on ppc too ++OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy ++endif ++ ++ifeq ($(CPU_ARCH),s390x) ++# Use va_copy() standard macro on s390x too OS_CFLAGS += -DHAVE_VA_COPY -DVA_COPY=va_copy endif diff --git a/js.spec b/js.spec index 6b9dc28..51e49ec 100644 --- a/js.spec +++ b/js.spec @@ -3,7 +3,7 @@ Summary: JavaScript interpreter and libraries Name: js Version: 1.70 -Release: 5%{?dist} +Release: 6%{?dist} # The sources are triple licensed, but when we link against readline which is # GPL, the result can only be GPL. %if 0%{?_without_readline:1} @@ -128,6 +128,9 @@ export BUILD_OPT=1 %changelog +* Fri May 29 2009 Dan Horak 1.70-6 +- update the va_copy patch for s390x + * Thu Apr 9 2009 Matthias Saou 1.70-5 - Update description (#487903).