diff options
author | hasso <hasso@pkgsrc.org> | 2009-03-11 14:31:20 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-03-11 14:31:20 +0000 |
commit | 26cecbbc0b6684ff46b88fd79c2d8317d166841e (patch) | |
tree | 0ad6a870cd89341539b16545415a4ba55e852a71 /audio/libspiff | |
parent | f18754bfb6429681ac3aa6b5183d737776a08bc8 (diff) | |
download | pkgsrc-26cecbbc0b6684ff46b88fd79c2d8317d166841e.tar.gz |
Make it build on DragonFly.
Diffstat (limited to 'audio/libspiff')
-rw-r--r-- | audio/libspiff/distinfo | 3 | ||||
-rw-r--r-- | audio/libspiff/patches/patch-aa | 14 |
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 |