summaryrefslogtreecommitdiff
path: root/audio/xmradio/files/patch-sample.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-28 14:12:36 +0000
commit6df3e23245b2c3793f24e4c42dd330d59419494c (patch)
treee86901dd11e5a970cf6211165d2b26dbe637e186 /audio/xmradio/files/patch-sample.c
parentlang/squeak: Claimed fix for PowerPC (diff)
Rename audio/ patch-xy patches to reflect the files they modify.
Diffstat (limited to 'audio/xmradio/files/patch-sample.c')
-rw-r--r--audio/xmradio/files/patch-sample.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/xmradio/files/patch-sample.c b/audio/xmradio/files/patch-sample.c
new file mode 100644
index 000000000000..d113d268966e
--- /dev/null
+++ b/audio/xmradio/files/patch-sample.c
@@ -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>