aboutsummaryrefslogtreecommitdiffstats
path: root/testing/portmidi/01_pmlinux.patch
blob: e37be1af943719172a63f731b1adc2c2252d7548 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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()