summaryrefslogtreecommitdiff
path: root/audio/libsndfile
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2012-06-22 20:31:47 +0000
committeradam <adam@pkgsrc.org>2012-06-22 20:31:47 +0000
commit6c729f77466ec9379559e403eb713684cb45e1bd (patch)
tree1f9c43751b90bc589cff970a56e53d7632ba06ac /audio/libsndfile
parente635e76cc77763ec8a9a4fbe318e15e51a1d6f1d (diff)
downloadpkgsrc-6c729f77466ec9379559e403eb713684cb45e1bd.tar.gz
Fix building on Mac OS X
Diffstat (limited to 'audio/libsndfile')
-rw-r--r--audio/libsndfile/distinfo3
-rw-r--r--audio/libsndfile/patches/patch-programs_sndfile-play.c12
2 files changed, 14 insertions, 1 deletions
diff --git a/audio/libsndfile/distinfo b/audio/libsndfile/distinfo
index 17e21cafa8e..041a48f9a9b 100644
--- a/audio/libsndfile/distinfo
+++ b/audio/libsndfile/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.34 2011/08/06 10:23:16 wiz Exp $
+$NetBSD: distinfo,v 1.35 2012/06/22 20:31:47 adam Exp $
SHA1 (libsndfile-1.0.25.tar.gz) = e95d9fca57f7ddace9f197071cbcfb92fa16748e
RMD160 (libsndfile-1.0.25.tar.gz) = 7330ea9fc1cfa3809fa7d2a6e2a0593b6e0233c7
Size (libsndfile-1.0.25.tar.gz) = 1060692 bytes
+SHA1 (patch-programs_sndfile-play.c) = c72eb9f7b4dbcc87051a841acb8bcdb7cadd5585
diff --git a/audio/libsndfile/patches/patch-programs_sndfile-play.c b/audio/libsndfile/patches/patch-programs_sndfile-play.c
new file mode 100644
index 00000000000..30a68b1abbc
--- /dev/null
+++ b/audio/libsndfile/patches/patch-programs_sndfile-play.c
@@ -0,0 +1,12 @@
+$NetBSD: patch-programs_sndfile-play.c,v 1.1 2012/06/22 20:31:48 adam Exp $
+
+--- programs/sndfile-play.c.orig 2012-06-22 19:48:12.000000000 +0000
++++ programs/sndfile-play.c
+@@ -58,7 +58,6 @@
+ #include <sys/soundcard.h>
+
+ #elif (defined (__MACH__) && defined (__APPLE__))
+- #include <Carbon.h>
+ #include <CoreAudio/AudioHardware.h>
+
+ #elif defined (HAVE_SNDIO_H)