summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-09-08 00:47:46 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-09-08 00:47:46 +0000
commit71b740881049601ab6967d14af706ad99324a82c (patch)
tree60bd1ccfd5ca6e6ceab222f3c014341bb23ae9b4
parentFix build on current (machine/soundcard.h -> sys/soundcard.h) (diff)
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
-rw-r--r--audio/gmixer/files/patch-ab6
-rw-r--r--audio/mixer.app/files/patch-Mixer.cc11
2 files changed, 14 insertions, 3 deletions
diff --git a/audio/gmixer/files/patch-ab b/audio/gmixer/files/patch-ab
index 2be423772f31..48318174d56b 100644
--- a/audio/gmixer/files/patch-ab
+++ b/audio/gmixer/files/patch-ab
@@ -1,11 +1,11 @@
---- gmixer.c.orig Thu Feb 25 21:32:29 1999
-+++ gmixer.c Thu Feb 25 21:32:48 1999
+--- gmixer.c.orig Mon Feb 22 08:11:10 1999
++++ gmixer.c Sat Sep 7 16:53:26 2002
@@ -4,7 +4,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
-#include <linux/soundcard.h>
-+#include <machine/soundcard.h>
++#include <sys/soundcard.h>
#include <gtk/gtk.h>
#include "icons/gmixer.xpm"
#include "icons/mix_logo.xpm"
diff --git a/audio/mixer.app/files/patch-Mixer.cc b/audio/mixer.app/files/patch-Mixer.cc
new file mode 100644
index 000000000000..95404bf7c221
--- /dev/null
+++ b/audio/mixer.app/files/patch-Mixer.cc
@@ -0,0 +1,11 @@
+--- Mixer.cc.orig Sat Sep 7 16:55:38 2002
++++ Mixer.cc Sat Sep 7 16:55:56 2002
+@@ -33,8 +33,6 @@
+
+ #if defined(__Linux__)
+ #include <linux/soundcard.h>
+-#elif defined(__FreeBSD__)
+-#include <machine/soundcard.h>
+ #else
+ #include <sys/soundcard.h>
+ #endif