mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Fix build problem on FreeBSD 5-current.
o <machine/soundcard.h> is moved to <sys/soundcard.h> on 4-stable and 5-current.
This commit is contained in:
parent
b345761190
commit
f5f9e49a3b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57556
14
graphics/libxine/files/patch-src:audio_out:audio_oss_out.c
Normal file
14
graphics/libxine/files/patch-src:audio_out:audio_oss_out.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/audio_out/audio_oss_out.c.old Tue Jan 15 21:55:15 2002
|
||||
+++ src/audio_out/audio_oss_out.c Thu Apr 11 13:27:47 2002
|
||||
@@ -49,7 +49,11 @@
|
||||
#if defined(__OpenBSD__)
|
||||
#include <soundcard.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
+#if __FreeBSD__ > 3
|
||||
+#include <sys/soundcard.h>
|
||||
+#else
|
||||
#include <machine/soundcard.h>
|
||||
+#endif
|
||||
#else
|
||||
#if defined(__linux__)
|
||||
#include <linux/config.h> /* Check for DEVFS */
|
14
multimedia/libxine/files/patch-src:audio_out:audio_oss_out.c
Normal file
14
multimedia/libxine/files/patch-src:audio_out:audio_oss_out.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/audio_out/audio_oss_out.c.old Tue Jan 15 21:55:15 2002
|
||||
+++ src/audio_out/audio_oss_out.c Thu Apr 11 13:27:47 2002
|
||||
@@ -49,7 +49,11 @@
|
||||
#if defined(__OpenBSD__)
|
||||
#include <soundcard.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
+#if __FreeBSD__ > 3
|
||||
+#include <sys/soundcard.h>
|
||||
+#else
|
||||
#include <machine/soundcard.h>
|
||||
+#endif
|
||||
#else
|
||||
#if defined(__linux__)
|
||||
#include <linux/config.h> /* Check for DEVFS */
|
Loading…
Reference in New Issue
Block a user