Accepting request 162666 from home:k0da:ppc
- fix altivec CFLAGS (libmikmod-altivec.patch) OBS-URL: https://build.opensuse.org/request/show/162666 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libmikmod?expand=0&rev=20
This commit is contained in:
parent
20656fee72
commit
bb117ec1b7
35
libmikmod-altivec.patch
Normal file
35
libmikmod-altivec.patch
Normal file
@ -0,0 +1,35 @@
|
||||
Index: libmikmod-3.2.0/configure
|
||||
===================================================================
|
||||
--- libmikmod-3.2.0.orig/configure
|
||||
+++ libmikmod-3.2.0/configure
|
||||
@@ -13701,10 +13701,10 @@ $as_echo_n "checking whether to use alti
|
||||
then
|
||||
case `uname` in
|
||||
Darwin)
|
||||
- CFLAGS="$CFLAGS -faltivec -force_cpusubtype_ALL"
|
||||
+ CFLAGS="$CFLAGS -maltivec -force_cpusubtype_ALL"
|
||||
;;
|
||||
Linux)
|
||||
- CFLAGS="$CFLAGS -faltivec"
|
||||
+ CFLAGS="$CFLAGS -maltivec"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
Index: libmikmod-3.2.0/configure.in
|
||||
===================================================================
|
||||
--- libmikmod-3.2.0.orig/configure.in
|
||||
+++ libmikmod-3.2.0/configure.in
|
||||
@@ -720,11 +720,11 @@ ppc|ppc64|powerpc|powerpc64)
|
||||
case `uname` in
|
||||
Darwin)
|
||||
dnl compile all Altivec functions, check at run-time
|
||||
- CFLAGS="$CFLAGS -faltivec -force_cpusubtype_ALL"
|
||||
+ CFLAGS="$CFLAGS -maltivec -force_cpusubtype_ALL"
|
||||
;;
|
||||
Linux)
|
||||
dnl force_cpusubtype_ALL not allowed for Linux as
|
||||
- CFLAGS="$CFLAGS -faltivec"
|
||||
+ CFLAGS="$CFLAGS -maltivec"
|
||||
;;
|
||||
esac
|
||||
fi
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 4 21:56:30 UTC 2013 - dvaleev@suse.com
|
||||
|
||||
- fix altivec CFLAGS (libmikmod-altivec.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 16:49:21 UTC 2013 - meissner@suse.com
|
||||
|
||||
|
@ -35,6 +35,7 @@ Source2: baselibs.conf
|
||||
Patch0: libmikmod-lp64.patch
|
||||
Patch1: CVE-2007-6720.diff
|
||||
Patch2: libmikmod-3.2.0-loopingvolume-fix.diff
|
||||
Patch3: libmikmod-altivec.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -93,6 +94,7 @@ mtm, xm, and it.
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static --with-pic
|
||||
|
Loading…
Reference in New Issue
Block a user