[SCM] jackd2/master: Add patch to fix FTBFS on kFreeBSD (Closes: #669566)

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Tue Apr 24 20:04:36 UTC 2012


The following commit has been merged in the master branch:
commit 6e0ba0ce62b77d0572f1a453298afbd797dd8d08
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Tue Apr 24 21:06:05 2012 +0200

    Add patch to fix FTBFS on kFreeBSD (Closes: #669566)

diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644
index 0000000..f86af74
--- /dev/null
+++ b/debian/patches/kfreebsd.patch
@@ -0,0 +1,21 @@
+From: Adrian Knoth <adi at drcomp.erfurt.thur.de>
+Bugs-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669566
+Forwarded: Not-Yet
+Description: Fix FTBFS on kFreeBSD
+--- a/wscript
++++ b/wscript
+@@ -79,10 +79,14 @@
+     opt.sub_options('dbus')
+ 
+ def configure(conf):
++    conf.load('compiler_cxx')
++    conf.load('compiler_cc')
+     platform = sys.platform
+     conf.env['IS_MACOSX'] = platform == 'darwin'
+     conf.env['IS_LINUX'] = platform == 'linux' or platform == 'linux2' or platform == 'posix'
+     conf.env['IS_SUN'] = platform == 'sunos'
++    if "kfreebsd" in platform:
++        conf.env['IS_LINUX'] = True
+ 
+     if conf.env['IS_LINUX']:
+         Logs.pprint('CYAN', "Linux detected")

-- 
jackd2 packaging



More information about the pkg-multimedia-commits mailing list