aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-09-09 04:43:08 +0800
committerkris <kris@FreeBSD.org>2002-09-09 04:43:08 +0800
commiteadc9c423f080736fc34e9c5c238fea9c2f9f38d (patch)
tree889164c7fe4a0797e59a0d63a0b6240de674d4a1
parent2d30c2271b8345daa24515ae82d790f4fceceae1 (diff)
downloadfreebsd-ports-gnome-eadc9c423f080736fc34e9c5c238fea9c2f9f38d.tar.gz
freebsd-ports-gnome-eadc9c423f080736fc34e9c5c238fea9c2f9f38d.tar.zst
freebsd-ports-gnome-eadc9c423f080736fc34e9c5c238fea9c2f9f38d.zip
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
-rw-r--r--emulators/xmess/files/patch-src-unix::sysdep::dsp-drivers::oss.c13
-rw-r--r--emulators/xmess/files/patch-src-unix::sysdep::mixer-drivers::oss.c13
2 files changed, 26 insertions, 0 deletions
diff --git a/emulators/xmess/files/patch-src-unix::sysdep::dsp-drivers::oss.c b/emulators/xmess/files/patch-src-unix::sysdep::dsp-drivers::oss.c
new file mode 100644
index 000000000000..70c42b9da83e
--- /dev/null
+++ b/emulators/xmess/files/patch-src-unix::sysdep::dsp-drivers::oss.c
@@ -0,0 +1,13 @@
+--- ./src/unix/sysdep/dsp-drivers/oss.c.orig Sun Sep 8 01:12:54 2002
++++ ./src/unix/sysdep/dsp-drivers/oss.c Sun Sep 8 01:13:03 2002
+@@ -29,9 +29,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+-#ifdef __ARCH_freebsd
+-#include <machine/soundcard.h>
+-#elif defined (__ARCH_openbsd)
++#if defined (__ARCH_openbsd)
+ #include <soundcard.h>
+ #else
+ #include <sys/soundcard.h>
diff --git a/emulators/xmess/files/patch-src-unix::sysdep::mixer-drivers::oss.c b/emulators/xmess/files/patch-src-unix::sysdep::mixer-drivers::oss.c
new file mode 100644
index 000000000000..e414078ed831
--- /dev/null
+++ b/emulators/xmess/files/patch-src-unix::sysdep::mixer-drivers::oss.c
@@ -0,0 +1,13 @@
+--- ./src/unix/sysdep/mixer-drivers/oss.c.orig Sun Sep 8 01:13:30 2002
++++ ./src/unix/sysdep/mixer-drivers/oss.c Sun Sep 8 01:13:35 2002
+@@ -28,9 +28,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+-#ifdef __ARCH_freebsd
+-#include <machine/soundcard.h>
+-#elif defined (__ARCH_openbsd)
++#if defined (__ARCH_openbsd)
+ #include <soundcard.h>
+ #else
+ #include <sys/soundcard.h>