diff options
author | kris <kris@FreeBSD.org> | 2002-09-08 18:22:25 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-09-08 18:22:25 +0800 |
commit | f5d490860d604b7f63137d7a31af6a38c380100b (patch) | |
tree | 169af3309bdafdee8e7dbfd84876b0e8f0541d14 /audio | |
parent | d4ff816c9b3a1f3f811e252e71ca06423e47fa5b (diff) | |
download | freebsd-ports-gnome-f5d490860d604b7f63137d7a31af6a38c380100b.tar.gz freebsd-ports-gnome-f5d490860d604b7f63137d7a31af6a38c380100b.tar.zst freebsd-ports-gnome-f5d490860d604b7f63137d7a31af6a38c380100b.zip |
Fix build on -current (machine/soundcard.h -> sys/soundcard.h)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/xmradio/files/patch-ab | 11 | ||||
-rw-r--r-- | audio/xmradio/files/patch-ac | 11 | ||||
-rw-r--r-- | audio/xmradio/files/patch-ad | 26 |
3 files changed, 48 insertions, 0 deletions
diff --git a/audio/xmradio/files/patch-ab b/audio/xmradio/files/patch-ab new file mode 100644 index 000000000000..d113d268966e --- /dev/null +++ b/audio/xmradio/files/patch-ab @@ -0,0 +1,11 @@ +--- sample.c.orig Sun Sep 8 03:00:57 2002 ++++ sample.c Sun Sep 8 03:01:20 2002 +@@ -43,7 +43,7 @@ + #ifdef __NetBSD__ + #include <soundcard.h> + #else +-#ifdef linux ++#if defined(linux) || defined(__FreeBSD__) + #include <sys/soundcard.h> + #else + #include <machine/soundcard.h> diff --git a/audio/xmradio/files/patch-ac b/audio/xmradio/files/patch-ac new file mode 100644 index 000000000000..bb46481553a8 --- /dev/null +++ b/audio/xmradio/files/patch-ac @@ -0,0 +1,11 @@ +--- analyzer.c.orig Sun Sep 8 03:00:48 2002 ++++ analyzer.c Sun Sep 8 03:01:47 2002 +@@ -37,7 +37,7 @@ + #include <soundcard.h> + #include <sys/ioctl.h> + #else +-#ifdef linux ++#if defined(linux) || defined(__FreeBSD__) + #include <sys/soundcard.h> + #else + #include <machine/soundcard.h> diff --git a/audio/xmradio/files/patch-ad b/audio/xmradio/files/patch-ad new file mode 100644 index 000000000000..52f2c3c2d485 --- /dev/null +++ b/audio/xmradio/files/patch-ad @@ -0,0 +1,26 @@ +--- radio.c.orig Tue Nov 27 13:30:42 2001 ++++ radio.c Sun Sep 8 03:13:58 2002 +@@ -63,17 +63,17 @@ + #ifdef __NetBSD__ + #include <dev/ic/bt8xx.h> + #include <soundcard.h> +-#else +-#ifdef linux ++#elif defined(linux) + #include <linux/bttv.h> + #include <sys/soundcard.h> +-#else ++#elif defined(__FreeBSD__) ++#include <sys/soundcard.h> + #include <machine/ioctl_bt848.h> +-#ifdef JUHA_DRIVER +-#include <machine/ioctl_tuner.h> +-#endif ++#else + #include <machine/soundcard.h> + #endif ++#ifdef JUHA_DRIVER ++#include <machine/ioctl_tuner.h> + #endif + + #include <X11/X.h> |