[SCM] sooperlooper/master: Add patch to remove exotic powerpc flags.
mira-guest at users.alioth.debian.org
mira-guest at users.alioth.debian.org
Sat Jan 7 22:40:36 UTC 2017
The following commit has been merged in the master branch:
commit 8c581a10a228e2b637853ad58be456baeebc17a9
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date: Sat Jan 7 23:24:03 2017 +0100
Add patch to remove exotic powerpc flags.
diff --git a/debian/patches/07-remove_powerpc_cpu_flags.patch b/debian/patches/07-remove_powerpc_cpu_flags.patch
new file mode 100644
index 0000000..42abbec
--- /dev/null
+++ b/debian/patches/07-remove_powerpc_cpu_flags.patch
@@ -0,0 +1,66 @@
+Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Description: Remove exotic powerpc flags.
+Forwarded: no
+
+Index: sooperlooper/autogen.sh
+===================================================================
+--- sooperlooper.orig/autogen.sh
++++ sooperlooper/autogen.sh
+@@ -190,57 +190,6 @@ dnl
+ gcc_major_version=`$CC -dumpversion | sed -e 's/\..*//'`
+ os_system=`uname -s`
+
+-if test "\$target_cpu" = "powerpc"; then
+- AC_DEFINE(POWERPC, 1, "Are we running a ppc CPU?")
+- altivecLinux=`cat /proc/cpuinfo | grep -i altivec >/dev/null`
+- if test "\$?" = "0"; then
+- AC_DEFINE(HAVE_ALTIVEC_LINUX, 1, "Is there Altivec Support ?")
+- if test "\$gcc_major_version" = "3"; then
+-dnl -mcpu=7450 does not reliably work with gcc 3.*
+- #OPT_FLAGS="-D_REENTRANT -O3 -mcpu=7400 -maltivec -mabi=altivec"
+- OPT_FLAGS="-D_REENTRANT -O3 -mcpu=7400 -mtune=7450"
+- else
+- OPT_FLAGS="-D_REENTRANT -Os"
+- fi
+- else
+- OPT_FLAGS="-D_REENTRANT -Os "
+- fi
+- OPT_FLAGS="\$OPT_FLAGS -mhard-float -mpowerpc-gfxopt"
+-elif echo \$target_cpu | grep "i*86" >/dev/null; then
+- if test "\$os_system" = "Darwin"; then
+- # pretty good assumption
+- mmx="-mmmx"
+- sse="-msse -mfpmath=sse"
+- OPT_FLAGS="-D_REENTRANT -Os -fomit-frame-pointer \$mmx \$sse"
+- else
+- cat /proc/cpuinfo | grep mmx >/dev/null
+- if test \$? = 0; then
+- mmx="-mmmx"
+- fi
+- cat /proc/cpuinfo | grep sse >/dev/null
+- if test \$? = 0; then
+- sse="-msse -mfpmath=sse"
+- fi
+- cat /proc/cpuinfo | grep 3dnow >/dev/null
+- if test \$? = 0; then
+- dreidnow="-m3dnow"
+- fi
+-
+-
+- AC_DEFINE(x86, 1, "Nope its intel")
+- if test "\$target_cpu" = "i586"; then
+- OPT_FLAGS="-DREENTRANT -O2 -march=i586 -fomit-frame-pointer"
+- elif test "\$target_cpu" = "i686"; then
+- OPT_FLAGS="-D_REENTRANT -O2 -march=i686 -fomit-frame-pointer"
+- if test "\$gcc_major_version" -ge "3"; then
+- OPT_FLAGS="\$OPT_FLAGS \$mmx \$sse \$dreidnow"
+- fi
+- else
+- OPT_FLAGS="-D_REENTRANT -O2 -fomit-frame-pointer"
+- fi
+- fi
+-fi
+-
+ OPT_FLAGS="\$OPT_FLAGS -pipe"
+
+ # LARGEFILE_FLAGS="\`getconf LFS_CFLAGS\`"
diff --git a/debian/patches/series b/debian/patches/series
index ae8a679..d5ac83b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@
04-build_with_wx_30.patch
05-sigc++-2.5.2.patch
06-use_sigc_bind.patch
+07-remove_powerpc_cpu_flags.patch
--
sooperlooper packaging
More information about the pkg-multimedia-commits
mailing list