diff options
author | joerg <joerg> | 2005-11-10 19:51:23 +0000 |
---|---|---|
committer | joerg <joerg> | 2005-11-10 19:51:23 +0000 |
commit | 351d685463cddf0f4c625903ee9559abd98db94d (patch) | |
tree | a457ea4fff6372f75119a7fd994dcaa580350997 | |
parent | cd3eb9ec2a740a75951cf42f014454063ffec18f (diff) | |
download | pkgsrc-351d685463cddf0f4c625903ee9559abd98db94d.tar.gz |
Use soundcard.h on OpenBSD and sys/soundcard.h on FreeBSD and DragonFly.
-rw-r--r-- | audio/tfmxplay/distinfo | 3 | ||||
-rw-r--r-- | audio/tfmxplay/patches/patch-ad | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/audio/tfmxplay/distinfo b/audio/tfmxplay/distinfo index b99f9708bb9..8b3d1806636 100644 --- a/audio/tfmxplay/distinfo +++ b/audio/tfmxplay/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2005/02/23 20:39:52 agc Exp $ +$NetBSD: distinfo,v 1.8 2005/11/10 19:51:23 joerg Exp $ SHA1 (tfmxplay-0.6.tgz) = 8028a03d4198da0733fa297e9e6ada864f0c782a RMD160 (tfmxplay-0.6.tgz) = 52c31309588b4a8073bf0987f0237ca9d6274b35 @@ -6,3 +6,4 @@ Size (tfmxplay-0.6.tgz) = 24271 bytes SHA1 (patch-aa) = 38bf1771c8773e7e12dbd1a563fa30ec9ae43c0f SHA1 (patch-ab) = 0e18cc967b397e48857f47bc231ae5a5eeb0e8dc SHA1 (patch-ac) = 5796904e2b50e538973deec598ec69728e48e8d5 +SHA1 (patch-ad) = 1b3456f95f94b3a665899bbd84a97d44157e32cb diff --git a/audio/tfmxplay/patches/patch-ad b/audio/tfmxplay/patches/patch-ad new file mode 100644 index 00000000000..d0c450a55c4 --- /dev/null +++ b/audio/tfmxplay/patches/patch-ad @@ -0,0 +1,16 @@ +$NetBSD: patch-ad,v 1.1 2005/11/10 19:51:23 joerg Exp $ + +--- audio.c.orig 2001-08-02 11:06:48.000000000 +0000 ++++ audio.c +@@ -5,8 +5,10 @@ + */ + + +-#ifdef __NetBSD__ ++#if defined(__NetBSD__) || defined(__OpenBSD__) + #include <soundcard.h> ++#elif defined(__FreeBSD__) || defined(__DragonFly__) ++#include <sys/soundcard.h> + #else + #include <linux/soundcard.h> + #endif |