[SCM] jackd2/master: Add patch to support SH4 architectures (Closes: #622713)

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Tue Apr 19 05:58:27 UTC 2011


The following commit has been merged in the master branch:
commit e77b914d998f95cf2735f8b2ec8fc43e8b4d7569
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Mon Apr 18 12:04:01 2011 +0200

    Add patch to support SH4 architectures (Closes: #622713)

diff --git a/debian/patches/sh4.patch b/debian/patches/sh4.patch
new file mode 100644
index 0000000..bff71ae
--- /dev/null
+++ b/debian/patches/sh4.patch
@@ -0,0 +1,17 @@
+From: Nobuhiro Iwamatsu <iwamatsu at nigauri.org>
+Forwarded: http://trac.jackaudio.org/ticket/223
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=622713
+Description: Make it work on SH4 architectures
+diff --git a/linux/JackLinuxTime.c b/linux/JackLinuxTime.c
+index 93f7f03..c80eb17 100644
+--- a/linux/JackLinuxTime.c
++++ b/linux/JackLinuxTime.c
+@@ -166,6 +166,8 @@ static jack_time_t jack_get_mhz (void)
+ 		ret = sscanf(buf, "Clocking:       %" SCNu64, &mhz);
+ #elif defined( __s390__  )
+ 		ret = sscanf(buf, "bogomips per cpu: %" SCNu64, &mhz);
++#elif defined( __sh__  )
++		ret = sscanf(buf, "bogomips        : %" SCNu64, &mhz);
+ #else /* MIPS, ARM, alpha */
+ 		ret = sscanf(buf, "BogoMIPS        : %" SCNu64, &mhz);
+ #endif

-- 
jackd2 packaging



More information about the pkg-multimedia-commits mailing list