summaryrefslogtreecommitdiff
path: root/irc/kvirc-devel/files/patch-modules-snd
diff options
context:
space:
mode:
Diffstat (limited to 'irc/kvirc-devel/files/patch-modules-snd')
-rw-r--r--irc/kvirc-devel/files/patch-modules-snd30
1 files changed, 19 insertions, 11 deletions
diff --git a/irc/kvirc-devel/files/patch-modules-snd b/irc/kvirc-devel/files/patch-modules-snd
index c39aa42bbe33..69e102fa3e91 100644
--- a/irc/kvirc-devel/files/patch-modules-snd
+++ b/irc/kvirc-devel/files/patch-modules-snd
@@ -1,11 +1,19 @@
---- src/modules/snd/libkvisnd.cpp Sat Dec 14 20:30:41 2002
-+++ src/modules/snd/libkvisnd.cpp.patched Mon Jan 5 19:18:20 2004
-@@ -49,7 +49,7 @@
- #ifdef COMPILE_OSS_SUPPORT
- #include <fcntl.h>
- #include <sys/ioctl.h>
-- #include <linux/soundcard.h>
-+ #include <sys/soundcard.h>
- #ifdef COMPILE_AUDIOFILE_SUPPORT
- #include <audiofile.h>
- #endif //COMPILE_AUDIOFILE_SUPPORT
+*** src/modules/snd/libkvisnd.cpp.orig Thu Feb 5 14:07:24 2004
+--- src/modules/snd/libkvisnd.cpp Thu Feb 5 14:07:32 2004
+***************
+*** 53,59 ****
+ #include <linux/soundcard.h>
+ #else
+ // Hint by Andy Fawcett: Thnx :)
+! #ifdef HAVE_SYS_SOUNDCARD_H_
+ #include <sys/soundcard.h>
+ #else
+ #warning "Ops.. have no soundcard.h ? ... we're going to fail here :/"
+--- 53,59 ----
+ #include <linux/soundcard.h>
+ #else
+ // Hint by Andy Fawcett: Thnx :)
+! #ifdef HAVE_SYS_SOUNDCARD_H
+ #include <sys/soundcard.h>
+ #else
+ #warning "Ops.. have no soundcard.h ? ... we're going to fail here :/"