[SCM] mixxx/master: Refresh 20_norpath.patch.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Fri Feb 25 14:29:32 UTC 2011


The following commit has been merged in the master branch:
commit 0aa5ba90e4bb4ff5efe2f0ef091373bef628de97
Author: Alessio Treglia <alessio at debian.org>
Date:   Fri Feb 25 15:29:15 2011 +0100

    Refresh 20_norpath.patch.

diff --git a/debian/patches/20_norpath.patch b/debian/patches/20_norpath.patch
index 6b7bf50..6e0588f 100644
--- a/debian/patches/20_norpath.patch
+++ b/debian/patches/20_norpath.patch
@@ -1,31 +1,19 @@
 Description: Drop -Wl,-rpath from LINKFLAGS.
- Allow ALLOW_X86_OPTIMIZATIONS on amd64 only, fixes FTBFS on ia64.
 Origin: Debian
 Bug-Debian: http://bugs.debian.org/599978
 Forwarded: no
 ---
- src/SConscript.env |    6 ++----
- 1 file changed, 2 insertions(+), 4 deletions(-)
+ build/depends.py |    2 --
+ 1 file changed, 2 deletions(-)
 
---- mixxx.orig/src/SConscript.env
-+++ mixxx/src/SConscript.env
-@@ -837,9 +837,6 @@ if 'win' in platformString:
- else:
- 	env.Append(CCFLAGS = Split(""" -pipe -Wall -W -g """)) # omghax
- 	env.Append(LINKFLAGS = Split(""" -pipe -Wall -W -g"""))
--	if platformString != 'osx':
--		env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
--	env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
- 	env.Append(CPPDEFINES = "_REENTRANT")
- 
- #Uic these guys (they're moc'd automatically after this) - Generates the code for the QT UI forms
-@@ -1335,7 +1332,8 @@ else:
- # enabled. It's dumb that they appear here, but they make the most sense next to
- # the optimization stuff. It's safe to assume that if opt > 1, then MMX and SSE
- # are enabled. All 64-bit CPUs have MMX and SSE as well.
--if bitwidth == '64' or (not 'win' in platformString and int(flags['optimize']) > 1) \
-+if bitwidth == '64' and (machine == 'AMD64' or machine == 'EM64T') \
-+    or (not 'win' in platformString and int(flags['optimize']) > 1) \
-     or ('win' in platformString and int(flags['optimize']) > 2):
-     sources += Split("""#lib/""" + soundtouch_path + """/mmx_optimized.cpp #lib/""" + soundtouch_path + """/sse_optimized.cpp""")
-     env.Append(CPPDEFINES='ALLOW_X86_OPTIMIZATIONS')
+--- mixxx.orig/build/depends.py
++++ mixxx/build/depends.py
+@@ -190,8 +190,6 @@ class Qt(Dependence):
+         compiling_on_104 = False
+         if build.platform_is_osx:
+             compiling_on_104 = (os.popen('sw_vers').readlines()[1].find('10.4') >= 0)
+-        if not build.platform_is_windows and not (using_104_sdk or compiling_on_104):
+-            build.env.Append(LINKFLAGS = "-Wl,-rpath,$QTDIR/lib")
+ 
+ 
+ class FidLib(Dependence):

-- 
mixxx packaging



More information about the pkg-multimedia-commits mailing list