From 0fe7f2e888f4285fec2ed47d8f2fa37ea3f6be3e547e269beeaaeaf4ff4de921 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 12 Jun 2013 07:22:47 +0000 Subject: [PATCH] Accepting request 178590 from home:k0da:ppc - Fix qcms altivec include (mozilla-qcms-ppc.patch) OBS-URL: https://build.opensuse.org/request/show/178590 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=338 --- MozillaFirefox.changes | 5 +++++ MozillaFirefox.spec | 3 +++ mozilla-qcms-ppc.patch | 22 ++++++++++++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 mozilla-qcms-ppc.patch diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 25bf879..0908f83 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jun 11 21:06:58 UTC 2013 - dvaleev@suse.com + +- Fix qcms altivec include (mozilla-qcms-ppc.patch) + ------------------------------------------------------------------- Fri May 10 05:25:39 UTC 2013 - wr@rosenauer.org diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index 7d64143..4309f6e 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -103,6 +103,8 @@ Patch12: mozilla-arm-disable-edsp.patch Patch13: mozilla-ppc.patch Patch14: mozilla-gstreamer-760140.patch Patch15: mozilla-libproxy-compat.patch +#PATCH-FIX-UPSTREAM - dvaleev@suse.com - fix qcms altivec on powerpc +Patch16: mozilla-qcms-ppc.patch # Firefox/browser Patch30: firefox-browser-css.patch Patch31: firefox-kde.patch @@ -235,6 +237,7 @@ cd $RPM_BUILD_DIR/mozilla %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 # %patch30 -p1 %if %suse_version >= 1110 diff --git a/mozilla-qcms-ppc.patch b/mozilla-qcms-ppc.patch new file mode 100644 index 0000000..2fc5466 --- /dev/null +++ b/mozilla-qcms-ppc.patch @@ -0,0 +1,22 @@ +diff --git a/gfx/qcms/Makefile.in b/gfx/qcms/Makefile.in +--- a/gfx/qcms/Makefile.in ++++ b/gfx/qcms/Makefile.in +@@ -48,17 +48,17 @@ else + endif + else + SSE1_FLAGS= + SSE2_FLAGS= + endif + endif + endif + else +-ifeq (ppc,$(CPU_ARCH)) ++ifeq (ppc,$(findstring ppc,$(CPU_ARCH))) + ifdef GNU_CC + CSRCS += transform-altivec.c + ALTIVEC_FLAGS=-maltivec + endif + endif + endif + + FORCE_STATIC_LIB = 1