summaryrefslogtreecommitdiff
path: root/pcr/a2jmidid/a2jmidid-dso-pthread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/a2jmidid/a2jmidid-dso-pthread.patch')
-rw-r--r--pcr/a2jmidid/a2jmidid-dso-pthread.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/pcr/a2jmidid/a2jmidid-dso-pthread.patch b/pcr/a2jmidid/a2jmidid-dso-pthread.patch
new file mode 100644
index 000000000..028b9d432
--- /dev/null
+++ b/pcr/a2jmidid/a2jmidid-dso-pthread.patch
@@ -0,0 +1,20 @@
+diff -aur a2jmidid-8/wscript a2jmidid-8.patched/wscript
+--- a2jmidid-8/wscript 2012-07-05 03:14:23.000000000 +0200
++++ a2jmidid-8.patched/wscript 2012-07-10 17:48:30.710109306 +0200
+@@ -67,6 +67,7 @@
+ conf.env['DBUS_ENABLED'] = False
+
+ conf.env['LIB_DL'] = ['dl']
++ conf.env['LIB_PTHREAD'] = ['pthread']
+
+ #conf.check_header('expat.h', mandatory=True)
+ #conf.env['LIB_EXPAT'] = ['expat']
+@@ -152,7 +153,7 @@
+
+ prog.includes = '.' # make waf dependency tracking work
+ prog.target = 'a2jmidid'
+- prog.uselib = 'ALSA JACK DL'
++ prog.uselib = 'ALSA JACK DL PTHREAD'
+ if bld.env()['DBUS_ENABLED']:
+ prog.uselib += " DBUS-1"
+ prog = bld.create_obj('cc', 'program')