summaryrefslogtreecommitdiff
path: root/multimedia/libflash/patches/patch-ag
blob: f69e777b2a5097b8e45a152313373f8261145dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$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);