diff options
Diffstat (limited to 'graphics/clanlib/patches/patch-ag')
-rw-r--r-- | graphics/clanlib/patches/patch-ag | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/graphics/clanlib/patches/patch-ag b/graphics/clanlib/patches/patch-ag deleted file mode 100644 index b67d773c34c..00000000000 --- a/graphics/clanlib/patches/patch-ag +++ /dev/null @@ -1,27 +0,0 @@ -$NetBSD: patch-ag,v 1.3 2000/12/15 03:24:18 garbled Exp $ ---- Sources/Core/Sound/ClanSound/oss.cpp.orig Thu Dec 14 18:47:17 2000 -+++ Sources/Core/Sound/ClanSound/oss.cpp Thu Dec 14 18:52:47 2000 -@@ -12,7 +12,11 @@ - #include <unistd.h> - #include <fcntl.h> - #include <sys/ioctl.h> -+#ifdef __NetBSD__ -+#include <soundcard.h> -+#else - #include <sys/soundcard.h> -+#endif - #include <iostream> - - #include <API/Core/System/error.h> -@@ -29,7 +33,11 @@ - - CL_CSOutput::CL_CSOutput() - { -+#ifdef __NetBSD__ -+ dev_dsp_fd = open("/dev/sound", O_WRONLY); -+#else - dev_dsp_fd = open("/dev/dsp", O_WRONLY); -+#endif - if (dev_dsp_fd == -1) - { - has_sound = false; |