From 8d5bf21ce5e4b5035245bffefb34dda20f1c5b4b Mon Sep 17 00:00:00 2001 From: hasso Date: Wed, 11 Mar 2009 14:31:20 +0000 Subject: Make it build on DragonFly. --- audio/libspiff/distinfo | 3 ++- audio/libspiff/patches/patch-aa | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 audio/libspiff/patches/patch-aa (limited to 'audio') 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 ++} + # define PORT_PATH_MAX PATH_MAX + # define DIR_SEPERATOR '/' + # define uriFilenameToUriString uriUnixFilenameToUriStringA -- cgit v1.2.3