[webkitgtk/f14/master] - Add back updated s390(x) patch - Do not generate debug information to prevent linker memory exhaus

Dan Horák sharkcz at fedoraproject.org
Wed Oct 13 14:25:03 UTC 2010


commit fdfcc9096a2faca48e62213043e46cffb5b16275
Author: Dan Horák <dan at danny.cz>
Date:   Wed Oct 13 16:25:18 2010 +0200

    - Add back updated s390(x) patch
    - Do not generate debug information to prevent linker memory exhaustion on s390
      with its 2 GB address space

 webkitgtk.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/webkitgtk.spec b/webkitgtk.spec
index b222075..45b18d3 100644
--- a/webkitgtk.spec
+++ b/webkitgtk.spec
@@ -35,7 +35,7 @@
 
 Name:		webkitgtk
 Version:	1.3.4
-Release:	3%{?dist}.1
+Release:	4%{?dist}
 Summary:	GTK+ Web content engine library
 
 Provides:	WebKit-gtk = %{version}-%{release}
@@ -122,6 +122,11 @@ LICENSE, README, and AUTHORS files.
 %patch3 -p1 -b .s390
 
 %build
+%ifarch s390
+# drop -g flag to prevent memory exhaustion by linker
+%global optflags %(echo %{optflags} | sed 's/-g//')
+%endif
+
 CFLAGS="%optflags -DLIBSOUP_I_HAVE_READ_BUG_594377_AND_KNOW_SOUP_PASSWORD_MANAGER_MIGHT_GO_AWAY" %configure							\
 			--enable-jit				\
 			--enable-geolocation			\
@@ -215,6 +220,8 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
 %changelog
 * Wed Oct 13 2010 Dan Horák <dan[at]danny.cz> - 1.3.4-4
 - Add back updated s390(x) patch
+- Do not generate debug information to prevent linker memory exhaustion on s390
+  with its 2 GB address space
 
 * Fri Oct 01 2010 Kevin Fenzi <kevin at tummy.com> - 1.3.4-3.1
 - Disable gobject-introspection for now, needs 0.9.5 or higher. 


More information about the scm-commits mailing list