freebsd-ports/audio/pd/files/patch-src_s_inter.c
Emanuel Haupt 41f7d7f537 Update to 0.43.0
PR:		158494
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2011-08-09 15:19:47 +00:00

14 lines
467 B
C

--- src/s_inter.c.orig 2011-03-20 07:22:27.000000000 +0900
+++ src/s_inter.c 2011-04-06 20:20:35.000000000 +0900
@@ -1251,7 +1251,11 @@
sys_gui("pdtk_watchdog\n");
#endif
sys_get_audio_apis(buf);
+#if defined(__FreeBSD__)
+ strcpy(buf2, "{}");
+#else
sys_get_midi_apis(buf2);
+#endif
sys_set_searchpath(); /* tell GUI about path and startup flags */
sys_set_extrapath();
sys_set_startup();