aboutsummaryrefslogtreecommitdiffstats
path: root/community/portmidi/01_pmlinux.patch
diff options
context:
space:
mode:
authorJustin Berthault <justin.berthault@zaclys.net>2021-04-15 19:56:23 +0200
committerLeo <thinkabit.ukim@gmail.com>2021-04-16 00:52:29 +0000
commit475a71302c24c15e8d3cefc5ecefce5a351f9b90 (patch)
treed7b3e46456221c36353c0c6b49947dd87718bb95 /community/portmidi/01_pmlinux.patch
parent479cb9fcea922d5116e064681a8cfb8a0f84c9d6 (diff)
community/portmidi: move from testing
Diffstat (limited to 'community/portmidi/01_pmlinux.patch')
-rw-r--r--community/portmidi/01_pmlinux.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/portmidi/01_pmlinux.patch b/community/portmidi/01_pmlinux.patch
new file mode 100644
index 00000000000..e37be1af943
--- /dev/null
+++ b/community/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()