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
This commit is contained in:
Wolfgang Rosenauer 2013-06-12 07:22:47 +00:00 committed by Git OBS Bridge
parent a45dcbe95d
commit 0fe7f2e888
3 changed files with 30 additions and 0 deletions

View File

@ -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

View File

@ -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

22
mozilla-qcms-ppc.patch Normal file
View File

@ -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