Author: Roland Stigge <stigge@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:
