Accepting request 162770 from multimedia:libs
- fix altivec CFLAGS (libmikmod-altivec.patch) (forwarded request 162666 from k0da) OBS-URL: https://build.opensuse.org/request/show/162770 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libmikmod?expand=0&rev=28
This commit is contained in:
commit
928b69704c
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
|
Tue Mar 26 16:49:21 UTC 2013 - meissner@suse.com
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ Source2: baselibs.conf
|
|||||||
Patch0: libmikmod-lp64.patch
|
Patch0: libmikmod-lp64.patch
|
||||||
Patch1: CVE-2007-6720.diff
|
Patch1: CVE-2007-6720.diff
|
||||||
Patch2: libmikmod-3.2.0-loopingvolume-fix.diff
|
Patch2: libmikmod-3.2.0-loopingvolume-fix.diff
|
||||||
|
Patch3: libmikmod-altivec.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -93,6 +94,7 @@ mtm, xm, and it.
|
|||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-pic
|
%configure --disable-static --with-pic
|
||||||
|
Loading…
Reference in New Issue
Block a user