summaryrefslogtreecommitdiff
path: root/audio/mppenc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2007-01-29 21:04:22 +0000
committerjoerg <joerg@pkgsrc.org>2007-01-29 21:04:22 +0000
commit435907d08519dc2035f87b3d7dfbfa7691434312 (patch)
treec1f7f95e8d910d1c399f9c41749d7edff5ffaa11 /audio/mppenc
parent32e55ea812c935473eba6e0a6ee8c07d3ff32160 (diff)
downloadpkgsrc-435907d08519dc2035f87b3d7dfbfa7691434312.tar.gz
Use sys/soundcard.h on DragonFly.
Diffstat (limited to 'audio/mppenc')
-rw-r--r--audio/mppenc/distinfo3
-rw-r--r--audio/mppenc/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/mppenc/distinfo b/audio/mppenc/distinfo
index 370c31208fa..5768f7088b6 100644
--- a/audio/mppenc/distinfo
+++ b/audio/mppenc/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/01/25 19:34:22 drochner Exp $
+$NetBSD: distinfo,v 1.2 2007/01/29 21:04:22 joerg Exp $
SHA1 (mppenc-1.16.tar.bz2) = f7dc898b14e0bd954941c62435a62c23af89cb8a
RMD160 (mppenc-1.16.tar.bz2) = 6e97bfc246b9db11532a628afba631883687554d
Size (mppenc-1.16.tar.bz2) = 105569 bytes
SHA1 (patch-aa) = 4cc88a533db69fbd8c650358e20f261e162d1049
+SHA1 (patch-ab) = 0aa4c32e90f18f2d2321d69942b087330fb50197
diff --git a/audio/mppenc/patches/patch-ab b/audio/mppenc/patches/patch-ab
new file mode 100644
index 00000000000..94fe852b2b1
--- /dev/null
+++ b/audio/mppenc/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2007/01/29 21:04:22 joerg Exp $
+
+--- src/mppdec.h.orig 2007-01-29 20:36:43.000000000 +0000
++++ src/mppdec.h
+@@ -160,7 +160,7 @@
+ # include <sys/time.h>
+ # if defined __linux__ // the standard is that this file is stored somewhere on the hard disk
+ # include <linux/soundcard.h>
+-# elif defined __bsdi_ || defined __FreeBSD__
++# elif defined __bsdi_ || defined __FreeBSD__ || defined(__DragonFly__)
+ # include <sys/soundcard.h>
+ # elif defined __NetBSD__ || defined __OpenBSD__
+ # include <soundcard.h>