aboutsummaryrefslogtreecommitdiffstats
path: root/java/jdk14/files
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2002-04-17 03:34:24 +0800
committerglewis <glewis@FreeBSD.org>2002-04-17 03:34:24 +0800
commitc653468fc0091a9d77c112cf0a7c4b649c3129a5 (patch)
tree5d270fd070fe6e9394994fbc09c383e5132dd712 /java/jdk14/files
parent6aff4adc7adc333c5295e335b3877df212852cd7 (diff)
downloadfreebsd-ports-gnome-c653468fc0091a9d77c112cf0a7c4b649c3129a5.tar.gz
freebsd-ports-gnome-c653468fc0091a9d77c112cf0a7c4b649c3129a5.tar.zst
freebsd-ports-gnome-c653468fc0091a9d77c112cf0a7c4b649c3129a5.zip
Fix the build of libaudio.so on 5-CURRENT by using <sys/soundcard.h>
rather than <machine/soundcard.h>. This doesn't affect the build on 4-STABLE. PR: 36988 Submitted by: Motoyuki Konno <motoyuki@bsdclub.org> Reviewed by: sobomax Approved by: sobomax
Diffstat (limited to 'java/jdk14/files')
-rw-r--r--java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c16
-rw-r--r--java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c16
2 files changed, 32 insertions, 0 deletions
diff --git a/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c b/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c
new file mode 100644
index 000000000000..5adab099618b
--- /dev/null
+++ b/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+--- ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS.c Thu Apr 11 14:58:48 2002
++++ ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS.c Thu Apr 11 15:14:18 2002
+@@ -58,7 +58,11 @@
+ #include <sys/wait.h>
+ #include <errno.h>
+ #ifdef __FreeBSD__
++#if __FreeBSD__ > 3
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h>
++#endif
+ #endif
+ #ifdef __NetBSD__
+ #include <soundcard.h>
diff --git a/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c b/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c
new file mode 100644
index 000000000000..2a97feca640e
--- /dev/null
+++ b/java/jdk14/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+--- ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS_Capture.c Thu Apr 11 14:58:48 2002
++++ ../src/solaris/native/com/sun/media/sound/engine/HAE_API_BSDOS_Capture.c Thu Apr 11 15:15:16 2002
+@@ -45,7 +45,11 @@
+ #include <sys/wait.h>
+ #include <errno.h>
+ #ifdef __FreeBSD__
++#if __FreeBSD__ > 3
++#include <sys/soundcard.h>
++#else
+ #include <machine/soundcard.h>
++#endif
+ #endif
+ #ifdef __NetBSD__
+ #include <soundcard.h>