openbsd-ports/games/gtkpool/patches/patch-gtkpool_sound_h
2002-02-19 06:28:31 +00:00

16 lines
478 B
Plaintext

$OpenBSD: patch-gtkpool_sound_h,v 1.1 2002/02/19 06:28:31 pvalchev Exp $
--- gtkpool/sound.h.orig Mon Jan 14 02:16:58 2002
+++ gtkpool/sound.h Mon Feb 18 23:07:32 2002
@@ -29,7 +29,11 @@
void play_sound(char *sound, int count);
int load_sound(char *file, char *buffer, int *count);
+#ifndef __OpenBSD__
void open_sound_device(char *name = "/dev/dsp");
+#else
+void open_sound_device(char *name = "/dev/audio");
+#endif
void configure_sound_device();
class SoundError {