1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 11:45:18 +03:00
aports/community/portmidi/01_pmlinux.patch
2021-04-16 00:52:29 +00:00

17 lines
614 B
Diff

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()