]> git.pld-linux.org Git - packages/gtk-webkit3.git/commitdiff
- link with libatomic on i486 for __atomic_fetch_add_8 auto/th/gtk-webkit3-2.4.1-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 18 Apr 2014 15:29:20 +0000 (17:29 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 18 Apr 2014 15:29:20 +0000 (17:29 +0200)
atomic-ops.patch [new file with mode: 0644]
gtk-webkit3.spec

diff --git a/atomic-ops.patch b/atomic-ops.patch
new file mode 100644 (file)
index 0000000..1f97062
--- /dev/null
@@ -0,0 +1,18 @@
+--- a/Source/WebKit2/GNUmakefile.am    2014-03-24 11:05:16.000000000 +0100
++++ b/Source/WebKit2/GNUmakefile.am    2014-04-18 16:51:18.331729235 +0200
+@@ -227,6 +227,7 @@
+ endif
+ libwebkit2gtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD := \
++      -latomic \
+       -lpthread \
+       libWebCore.la \
+       libWebCorePlatform.la \
+@@ -775,6 +775,7 @@
+       $(webkit2_plugin_process_sources)
+ Programs_WebKitPluginProcess_LDADD = \
++      -latomic \
+       -lpthread \
+       libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
+       libWebCoreLayerGtk2.a \
index 61475055e0038000048836b3c24bfb2ba7329ff8..c731443df995ff61d94fe8bc12ff3c90d4bb38a6 100644 (file)
@@ -15,6 +15,7 @@ License:      BSD-like
 Group:         X11/Libraries
 Source0:       http://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz
 # Source0-md5: c57ebecff1ba7663b303e21a64840c48
+Patch0:                atomic-ops.patch
 URL:           http://webkitgtk.org/
 BuildRequires: /usr/bin/ld.gold
 BuildRequires: EGL-devel
@@ -44,6 +45,9 @@ BuildRequires:        gtk+3-devel >= 3.10.0
 BuildRequires: gtk-doc >= 1.10
 BuildRequires: harfbuzz-devel >= 0.9.7
 BuildRequires: harfbuzz-icu-devel >= 0.9.7
+%ifarch i486
+BuildRequires: libatomic-devel
+%endif
 BuildRequires: libicu-devel >= 4.2.1
 BuildRequires: libjpeg-devel
 BuildRequires: libpng-devel
@@ -130,6 +134,9 @@ Dokumentacja API WebKita.
 
 %prep
 %setup -q -n webkitgtk-%{version}
+%ifarch i486
+%patch0 -p1
+%endif
 
 %build
 %{__libtoolize}
This page took 0.243401 seconds and 4 git commands to generate.