summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhasso <hasso>2009-03-11 14:31:20 +0000
committerhasso <hasso>2009-03-11 14:31:20 +0000
commit8d5bf21ce5e4b5035245bffefb34dda20f1c5b4b (patch)
tree0ad6a870cd89341539b16545415a4ba55e852a71 /audio
parent63be00c95aa0162ff1cab3a7dbcb2db624ad77a3 (diff)
downloadpkgsrc-8d5bf21ce5e4b5035245bffefb34dda20f1c5b4b.tar.gz
Make it build on DragonFly.
Diffstat (limited to 'audio')
-rw-r--r--audio/libspiff/distinfo3
-rw-r--r--audio/libspiff/patches/patch-aa14
2 files changed, 16 insertions, 1 deletions
diff --git a/audio/libspiff/distinfo b/audio/libspiff/distinfo
index 79b644e0eef..3ef62ea7f18 100644
--- a/audio/libspiff/distinfo
+++ b/audio/libspiff/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2008/10/31 22:36:28 bjs Exp $
+$NetBSD: distinfo,v 1.4 2009/03/11 14:31:20 hasso Exp $
SHA1 (libspiff-1.0.0.tar.bz2) = 4e69677fb16a35ee4158bedb9965345e1f530a28
RMD160 (libspiff-1.0.0.tar.bz2) = 89fee7e0c8a8de59452494251a2121a858824c85
Size (libspiff-1.0.0.tar.bz2) = 385061 bytes
+SHA1 (patch-aa) = 16f441fd7662395244feae0bebf03497c1bba0ed
diff --git a/audio/libspiff/patches/patch-aa b/audio/libspiff/patches/patch-aa
new file mode 100644
index 00000000000..cc96e0a90a4
--- /dev/null
+++ b/audio/libspiff/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2009/03/11 14:31:20 hasso Exp $
+
+--- examples/read/read.cpp.orig 2009-03-11 15:29:44 +0200
++++ examples/read/read.cpp 2009-03-11 15:35:35 +0200
+@@ -56,6 +56,9 @@
+ # define PORT_GETCWD _getcwd
+ # endif
+ #else
++extern "C" {
++#include <unistd.h>
++}
+ # define PORT_PATH_MAX PATH_MAX
+ # define DIR_SEPERATOR '/'
+ # define uriFilenameToUriString uriUnixFilenameToUriStringA