Hello community,

here is the log from the commit of package cairo for openSUSE:Factory checked 
in at 2013-09-04 14:07:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cairo (Old)
 and      /work/SRC/openSUSE:Factory/.cairo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cairo"

Changes:
--------
--- /work/SRC/openSUSE:Factory/cairo/cairo.changes      2013-08-28 
21:20:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.cairo.new/cairo.changes 2013-09-04 
14:07:59.000000000 +0200
@@ -1,0 +2,6 @@
+Wed Aug 28 20:42:58 UTC 2013 - idon...@suse.com
+
+- Add cairo-disable-lto.patch to disable LTO on s390{x} to fix the
+  build.
+
+-------------------------------------------------------------------

New:
----
  cairo-disable-lto.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cairo.spec ++++++
--- /var/tmp/diff_new_pack.m3FZOk/_old  2013-09-04 14:08:01.000000000 +0200
+++ /var/tmp/diff_new_pack.m3FZOk/_new  2013-09-04 14:08:01.000000000 +0200
@@ -30,6 +30,8 @@
 Source99:       baselibs.conf
 # PATCH-FIX-UPSTREAM cairo-modules-no-version.patch fdo#29319 
dims...@opensuse.org -- Build modules with -module -avoid-version.
 Patch0:         cairo-modules-no-version.patch
+# PATCH-FIX-OPENSUSE cairo-disable-lto.patch idoen...@suse.de -- Disable -flto 
on s390{x}
+Patch1:         cairo-disable-lto.patch
 # These libraries are needed only for tests.
 # Do not enable tests in build systems, it causes build loop!
 #BuildRequires:  librsvg-devel poppler-devel
@@ -148,9 +150,12 @@
 %prep
 %setup -q
 %patch0 -p1
+%ifarch s390 s390x
+%patch1 -p1
+%endif
 
 %build
-# Needed by patch0
+# Needed by patch0 and patch1
 NOCONFIGURE=1 ./autogen.sh
 %configure \
     --with-pic \

++++++ cairo-disable-lto.patch ++++++
Index: cairo-1.12.16/build/configure.ac.warnings
===================================================================
--- cairo-1.12.16.orig/build/configure.ac.warnings
+++ cairo-1.12.16/build/configure.ac.warnings
@@ -36,16 +36,6 @@ MAYBE_WARN="$MAYBE_WARN -erroff=E_ENUM_T
 dnl We also abuse the warning-flag facility to enable other compiler
 dnl options.  Namely, the following:
 
-dnl -flto working really needs a test link, not just a compile
-
-safe_MAYBE_WARN="$MAYBE_WARN"
-MAYBE_WARN="$MAYBE_WARN -flto"
-AC_TRY_LINK([],[
-       int main(int argc, char **argv) { return 0; }
-],[],[
-       MAYBE_WARN="$safe_MAYBE_WARN"
-])
-
 MAYBE_WARN="$MAYBE_WARN -fno-strict-aliasing -fno-common"
 
 dnl Also to turn various gcc/glibc-specific preprocessor checks
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to