aboutsummaryrefslogtreecommitdiffstats
path: root/testing/portmidi/01_pmlinux.patch
diff options
context:
space:
mode:
authorTaner Tas <taner76@gmail.com>2018-02-21 16:33:34 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-02-28 12:53:05 +0000
commit24cdbb59afb3e0141401a09cc98c918283ccdc49 (patch)
treec18c934ec904845e8c95d4f52137960751faeec0 /testing/portmidi/01_pmlinux.patch
parent478a4a468ecf31c263b6c76dfab0f2332bc3365f (diff)
downloadaports-24cdbb59afb3e0141401a09cc98c918283ccdc49.tar.bz2
aports-24cdbb59afb3e0141401a09cc98c918283ccdc49.tar.xz
testing/portmidi: new aport
http://portmedia.sourceforge.net/ PortMidi is a platform independent library for MIDI input/output.
Diffstat (limited to 'testing/portmidi/01_pmlinux.patch')
-rw-r--r--testing/portmidi/01_pmlinux.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/portmidi/01_pmlinux.patch b/testing/portmidi/01_pmlinux.patch
new file mode 100644
index 0000000000..e37be1af94
--- /dev/null
+++ b/testing/portmidi/01_pmlinux.patch
@@ -0,0 +1,17 @@
+Index: portmidi-200/pm_linux/pmlinux.c
+===================================================================
+--- portmidi-200.orig/pm_linux/pmlinux.c 2010-02-14 17:35:40.000000000 -0500
++++ portmidi-200/pm_linux/pmlinux.c 2010-02-14 17:36:17.000000000 -0500
+@@ -34,10 +34,10 @@
+ * devices.
+ */
+ #ifdef PMALSA
+- pm_linuxalsa_init();
++ return pm_linuxalsa_init();
+ #endif
+ #ifdef PMNULL
+- pm_linuxnull_init();
++ return pm_linuxnull_init();
+ #endif
+ // this is set when we return to Pm_Initialize, but we need it
+ // now in order to (successfully) call Pm_CountDevices()