[SCM] ffado/master: Fix FTBFS on PowerPCspe (Closes: #772937)

adiknoth-guest at users.alioth.debian.org adiknoth-guest at users.alioth.debian.org
Fri Aug 12 09:13:28 UTC 2016


The following commit has been merged in the master branch:
commit b44d65fdb2a0ecdc11d3c86b037535fb6f9d2fb6
Author: Adrian Knoth <adi at drcomp.erfurt.thur.de>
Date:   Fri Aug 12 10:31:04 2016 +0200

    Fix FTBFS on PowerPCspe (Closes: #772937)

diff --git a/debian/patches/powerpcspe.patch b/debian/patches/powerpcspe.patch
new file mode 100644
index 0000000..35e0841
--- /dev/null
+++ b/debian/patches/powerpcspe.patch
@@ -0,0 +1,23 @@
+Author: Roland Stigge <stigge at antcom.de>
+Last-Update: 2016-08-12
+Forwarded: Yes
+Applied-Upstream: 2.3.1
+Bug-Debian: http://bugs.debian.org/772937
+Description: Fix FTBFS on PowerPC-SPE
+
+Index: libffado/SConstruct
+===================================================================
+--- libffado.orig/SConstruct
++++ libffado/SConstruct
+@@ -647,7 +647,10 @@ class CpuInfo (object):
+                 self.cpu_count += 1
+             elif k == 'cpu':
+                 self.is_altivec_supported = 'altivec' in v
+-                ppc_type, x = v.split(',')
++                if ',' in v:
++                    ppc_type, x = v.split(',')
++                else:
++                    ppc_type = v
+                 self.ppc_type = ppc_type.strip()
+         # older kernels might not have a 'processor' line
+         if self.cpu_count == 0:

-- 
Free Firewire Audio Drivers (ffado.org) packaging



More information about the pkg-multimedia-commits mailing list