mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
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
This commit is contained in:
parent
7ca01b0480
commit
4a6fa7fd6f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57770
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user