[webkitgtk3/f16] fix build on s390(x)
Dan Horák
sharkcz at fedoraproject.org
Wed Oct 12 17:58:28 UTC 2011
commit 595c52fee4bb13575cd28c01ad79344160c953f3
Author: Dan Horák <dan at danny.cz>
Date: Wed Oct 12 19:58:02 2011 +0200
fix build on s390(x)
webkit-1.6.1-dtoa-s390.patch | 12 ++++++++++++
webkitgtk3.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/webkit-1.6.1-dtoa-s390.patch b/webkit-1.6.1-dtoa-s390.patch
new file mode 100644
index 0000000..3cd7806
--- /dev/null
+++ b/webkit-1.6.1-dtoa-s390.patch
@@ -0,0 +1,12 @@
+diff -up webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h.dtoa webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h
+--- webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h.dtoa 2011-10-12 15:28:33.000000000 +0200
++++ webkit-1.6.1/Source/JavaScriptCore/wtf/dtoa/utils.h 2011-10-12 15:28:52.000000000 +0200
+@@ -49,7 +49,7 @@
+ defined(__ARMEL__) || \
+ defined(_MIPS_ARCH_MIPS32R2)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+-#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4)
++#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X)
+ #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1
+ #elif defined(_M_IX86) || defined(__i386__)
+ #if defined(_WIN32)
diff --git a/webkitgtk3.spec b/webkitgtk3.spec
index ce52684..2116e5d 100644
--- a/webkitgtk3.spec
+++ b/webkitgtk3.spec
@@ -7,7 +7,7 @@
Name: webkitgtk3
Version: 1.6.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: GTK+ Web content engine library
Group: Development/Libraries
@@ -18,6 +18,8 @@ Source0: http://www.webkitgtk.org/webkit-%{version}.tar.gz
Patch1: webkit-1.3.4-no-execmem.patch
Patch2: webkit-1.1.14-nspluginwrapper.patch
+# https://bugs.webkit.org/show_bug.cgi?id=69940
+Patch3: webkit-1.6.1-dtoa-s390.patch
BuildRequires: bison
BuildRequires: chrpath
@@ -78,6 +80,7 @@ This package contains developer documentation for %{name}.
%setup -qn "webkit-%{version}"
%patch1 -p1 -b .no-execmem
%patch2 -p1 -b .nspluginwrapper
+%patch3 -p1 -b .dtoa-s390
%build
%ifarch s390
@@ -162,6 +165,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
%changelog
+* Wed Oct 12 2011 Dan Horák <dan[at]danny.cz> 1.6.1-3
+- fix build on s390(x)
+
* Thu Oct 06 2011 Ray Strode <rstrode at redhat.com> 1.6.1-2
- rebuild
More information about the scm-commits
mailing list