[SCM] ffado/master: Fix /proc/cpuinfo parsing

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon Jul 7 16:49:27 UTC 2014


The following commit has been merged in the master branch:
commit 1bed8f9b1f690097107c0046275cee4bd49612c6
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Mon Jul 7 18:37:03 2014 +0200

    Fix /proc/cpuinfo parsing
    
    Thanks: Plamen Aleksandrov
    Closes: #751228

diff --git a/debian/patches/cpuinfo-parsing.patch b/debian/patches/cpuinfo-parsing.patch
new file mode 100644
index 0000000..b2e681e
--- /dev/null
+++ b/debian/patches/cpuinfo-parsing.patch
@@ -0,0 +1,17 @@
+Description: Fix parsing of /proc/cpuinfo
+Author: Plamen Aleksandrov <plamen at aomeda.com>
+Bug-Debian: https://bugs.debian.org/751228
+Last-Update: 2014-07-07
+
+diff -Nur libffado-2.2.1/SConstruct libffado-2.2.1.mine/SConstruct
+--- libffado-2.2.1/SConstruct	2014-06-02 00:01:27.000000000 +0000
++++ libffado-2.2.1.mine/SConstruct	2014-06-09 17:16:30.038566814 +0000
+@@ -514,7 +514,7 @@
+     for line in f:
+         line = line.strip()
+         if line:
+-            k,v = line.split(':')
++            k,v = line.split(':', 1)
+             yield (k.strip(), v.strip())
+     f.close()
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a1ed25d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+cpuinfo-parsing.patch

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



More information about the pkg-multimedia-commits mailing list