summaryrefslogtreecommitdiffstats
path: root/libraries/libffado/libffado-mixer.patch
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-02-07 02:56:35 +0100
committer Willy Sudiarto Raharjo2016-02-07 02:56:35 +0100
commit0bccb0699874ef4b4f78bdcce5535aac16e67865 (patch)
tree35eeaccb7b794e42cc93074b459ec00510b2074f /libraries/libffado/libffado-mixer.patch
parent59b76a143ffe333cc692d01d25c0324c756f377f (diff)
downloadslackbuilds-0bccb0699874ef4b4f78bdcce5535aac16e67865.tar.gz
libraries/libffado: Updated for version 2.2.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libffado/libffado-mixer.patch')
-rw-r--r--libraries/libffado/libffado-mixer.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/libraries/libffado/libffado-mixer.patch b/libraries/libffado/libffado-mixer.patch
new file mode 100644
index 0000000000..30ab57ce1d
--- /dev/null
+++ b/libraries/libffado/libffado-mixer.patch
@@ -0,0 +1,45 @@
+--- a/tests/test-enhanced-mixer.cpp
++++ b/tests/test-enhanced-mixer.cpp
+@@ -77,7 +77,7 @@
+ exit(0);
+ }
+
+- int errno = 0;
++ extern int errno;
+ char* tail;
+ int node_id = strtol( argv[1], &tail, 0 );
+ int fb_id = strtol( argv[2], &tail, 0 );
+--- a/tests/test-mixer.cpp
++++ b/tests/test-mixer.cpp
+@@ -227,7 +227,7 @@
+ exit(0);
+ }
+
+- int errno = 0;
++ extern int errno;
+ char* tail;
+ int port = strtol( argv[1], &tail, 0 );
+ int node_id = strtol( argv[2], &tail, 0 );
+--- a/tests/test-pan.cpp
++++ b/tests/test-pan.cpp
+@@ -131,7 +131,7 @@
+ exit(0);
+ }
+
+- int errno = 0;
++ extern int errno;
+ char* tail;
+ int node_id = strtol( argv[1], &tail, 0 );
+ int fb_id = strtol( argv[2], &tail, 0 );
+--- a/tests/test-volume.cpp
++++ b/tests/test-volume.cpp
+@@ -127,7 +127,7 @@
+ exit(0);
+ }
+
+- int errno = 0;
++ extern int errno;
+ char* tail;
+ int node_id = strtol( argv[1], &tail, 0 );
+ int fb_id = strtol( argv[2], &tail, 0 );
+