[SCM] jackd2/master: Add detection for GNU/Hurd.

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Thu Apr 26 11:27:37 UTC 2012


The following commit has been merged in the master branch:
commit a1992a4d2400cc00f4d9b617b05f284227cc2655
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Thu Apr 26 13:21:57 2012 +0200

    Add detection for GNU/Hurd.

diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
index f86af74..478761c 100644
--- a/debian/patches/kfreebsd.patch
+++ b/debian/patches/kfreebsd.patch
@@ -1,10 +1,10 @@
 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
+Description: Fix FTBFS on kFreeBSD and HURD
 --- a/wscript
 +++ b/wscript
-@@ -79,10 +79,14 @@
+@@ -79,10 +79,15 @@
      opt.sub_options('dbus')
  
  def configure(conf):
@@ -14,7 +14,8 @@ Description: Fix FTBFS on kFreeBSD
      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:
++    # GNU/kFreeBSD and GNU/Hurd are treated as Linux
++    if platform.startswith('gnu0') or platform.startswith('gnukfreebsd'):
 +        conf.env['IS_LINUX'] = True
  
      if conf.env['IS_LINUX']:

-- 
jackd2 packaging



More information about the pkg-multimedia-commits mailing list