pkgsrc/multimedia/libflash/patches/patch-ag
2004-01-26 13:34:45 +00:00

17 lines
433 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2004/01/26 13:34:46 jmmv Exp $
--- Player/main.c.orig Wed Jun 7 23:56:11 2000
+++ Player/main.c
@@ -559,7 +559,11 @@ main(int argc, char **argv)
FlashGraphicInitX11(flashHandle, dpy, movie, onRoot);
- FlashSoundInit(flashHandle, "/dev/dsp");
+#ifndef DEV_DSP
+#define DEV_DSP "/dev/dsp"
+#endif
+
+ FlashSoundInit(flashHandle, DEV_DSP);
FlashSetGetUrlMethod(flashHandle, showUrl, 0);