diff options
author | glewis <glewis@FreeBSD.org> | 2002-04-16 19:34:24 +0000 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2002-04-16 19:34:24 +0000 |
commit | c653468fc0091a9d77c112cf0a7c4b649c3129a5 (patch) | |
tree | 5d270fd070fe6e9394994fbc09c383e5132dd712 /java/jdk13/files | |
parent | 6aff4adc7adc333c5295e335b3877df212852cd7 (diff) | |
download | FreeBSD-ports-c653468fc0091a9d77c112cf0a7c4b649c3129a5.zip FreeBSD-ports-c653468fc0091a9d77c112cf0a7c4b649c3129a5.tar.gz |
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/jdk13/files')
2 files changed, 32 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c b/java/jdk13/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS.c new file mode 100644 index 0000000..5adab09 --- /dev/null +++ b/java/jdk13/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/jdk13/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c b/java/jdk13/files/patch-..::src::solaris::native::com::sun::media::sound::engine::HAE_API_BSDOS_Capture.c new file mode 100644 index 0000000..2a97fec --- /dev/null +++ b/java/jdk13/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> |