diff options
author | sbd <sbd@pkgsrc.org> | 2012-02-04 09:26:10 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-02-04 09:26:10 +0000 |
commit | 1f174ed59b64d47ea233e3fafb4216bd5c8d552f (patch) | |
tree | 095a97f5cd16c8a34bf4f6745e0d1f68ba96f821 /audio/flactag | |
parent | 2cd86e92a6eb86e3bd2b756cf5bb4f941c58de04 (diff) | |
download | pkgsrc-1f174ed59b64d47ea233e3fafb4216bd5c8d552f.tar.gz |
Fix Linux build.
Diffstat (limited to 'audio/flactag')
-rw-r--r-- | audio/flactag/distinfo | 8 | ||||
-rw-r--r-- | audio/flactag/patches/patch-CommandLine.cc | 13 | ||||
-rw-r--r-- | audio/flactag/patches/patch-ConfigFile.cc | 12 | ||||
-rw-r--r-- | audio/flactag/patches/patch-ErrorLog.cc | 12 | ||||
-rw-r--r-- | audio/flactag/patches/patch-FileNameBuilder.cc | 12 | ||||
-rw-r--r-- | audio/flactag/patches/patch-aa | 14 |
6 files changed, 66 insertions, 5 deletions
diff --git a/audio/flactag/distinfo b/audio/flactag/distinfo index f3489e836c9..70bbbfe8602 100644 --- a/audio/flactag/distinfo +++ b/audio/flactag/distinfo @@ -1,8 +1,12 @@ -$NetBSD: distinfo,v 1.4 2011/11/23 00:42:00 marino Exp $ +$NetBSD: distinfo,v 1.5 2012/02/04 09:26:10 sbd Exp $ SHA1 (flactag-1.1.tar.gz) = 8b0b65068b2659eceb36831694657bf2210ca36b RMD160 (flactag-1.1.tar.gz) = 975091ad58b1c88e972e0b99ae800c068bc668d7 Size (flactag-1.1.tar.gz) = 110567 bytes -SHA1 (patch-aa) = 8fe32dfe32c5e5ab7a88a96b1507b74d65dca788 +SHA1 (patch-CommandLine.cc) = f677354989b98c26a613cfdf1f10ab8746ac6ec3 +SHA1 (patch-ConfigFile.cc) = 3936aabe97b7660cbe5731e81317494782859877 +SHA1 (patch-ErrorLog.cc) = 7ae1bbce462db4e7b776d976b14485be1a40d063 +SHA1 (patch-FileNameBuilder.cc) = c7ba316bcf999670125c37573f29b7338804b15c +SHA1 (patch-aa) = 71425b556d64b828083f0738e61fb0b9ca15b1df SHA1 (patch-ac) = cf71f4f68663ed9dc73662e32df55c0621fcaa14 SHA1 (patch-ad) = ff867a7acc08e08e3f109c63a235c13243a95cc6 diff --git a/audio/flactag/patches/patch-CommandLine.cc b/audio/flactag/patches/patch-CommandLine.cc new file mode 100644 index 00000000000..43d5baaa320 --- /dev/null +++ b/audio/flactag/patches/patch-CommandLine.cc @@ -0,0 +1,13 @@ +$NetBSD: patch-CommandLine.cc,v 1.1 2012/02/04 09:26:11 sbd Exp $ + +--- CommandLine.cc.orig 2008-12-16 11:20:56.000000000 +0000 ++++ CommandLine.cc +@@ -32,6 +32,8 @@ + + #include "ErrorLog.h" + ++#include <cstdio> ++ + CCommandLine::CCommandLine(int argc, char *const argv[]) + : m_Valid(true), + m_Check(false), diff --git a/audio/flactag/patches/patch-ConfigFile.cc b/audio/flactag/patches/patch-ConfigFile.cc new file mode 100644 index 00000000000..58f0b226139 --- /dev/null +++ b/audio/flactag/patches/patch-ConfigFile.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-ConfigFile.cc,v 1.1 2012/02/04 09:26:11 sbd Exp $ + +--- ConfigFile.cc.orig 2008-12-16 11:20:56.000000000 +0000 ++++ ConfigFile.cc +@@ -25,6 +25,7 @@ + ----------------------------------------------------------------------------*/ + + #include "ConfigFile.h" ++#include <cstdio> + + CConfigFile::CConfigFile() + { diff --git a/audio/flactag/patches/patch-ErrorLog.cc b/audio/flactag/patches/patch-ErrorLog.cc new file mode 100644 index 00000000000..fc5ba9ab49f --- /dev/null +++ b/audio/flactag/patches/patch-ErrorLog.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-ErrorLog.cc,v 1.1 2012/02/04 09:26:11 sbd Exp $ + +--- ErrorLog.cc.orig 2008-12-16 11:20:56.000000000 +0000 ++++ ErrorLog.cc +@@ -25,6 +25,7 @@ + ----------------------------------------------------------------------------*/ + + #include "ErrorLog.h" ++#include <cstdio> + + const std::vector<std::string>::size_type CErrorLog::m_cMaxSize=100; + diff --git a/audio/flactag/patches/patch-FileNameBuilder.cc b/audio/flactag/patches/patch-FileNameBuilder.cc new file mode 100644 index 00000000000..0f3a102fef4 --- /dev/null +++ b/audio/flactag/patches/patch-FileNameBuilder.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-FileNameBuilder.cc,v 1.1 2012/02/04 09:26:11 sbd Exp $ + +--- FileNameBuilder.cc.orig 2012-02-04 08:44:33.120854935 +0000 ++++ FileNameBuilder.cc +@@ -27,6 +27,7 @@ + #include "FileNameBuilder.h" + + #include <stdlib.h> ++#include <cstdio> + + #include <unac.h> + diff --git a/audio/flactag/patches/patch-aa b/audio/flactag/patches/patch-aa index 2c814551a08..90d6b3d62c9 100644 --- a/audio/flactag/patches/patch-aa +++ b/audio/flactag/patches/patch-aa @@ -1,12 +1,20 @@ -$NetBSD: patch-aa,v 1.2 2011/11/23 00:42:00 marino Exp $ +$NetBSD: patch-aa,v 1.3 2012/02/04 09:26:11 sbd Exp $ --- UTF8Tag.cc.orig 2008-12-16 11:20:56.000000000 +0000 +++ UTF8Tag.cc -@@ -71,7 +71,11 @@ void CUTF8Tag::Convert() +@@ -32,6 +32,7 @@ + #include <errno.h> + #include <string.h> + #include <stdlib.h> ++#include <cstdio> + + #include <iconv.h> + +@@ -71,7 +72,11 @@ void CUTF8Tag::Convert() memset(Out,0,m_UTF8Value.length()*4); size_t OutLeft=m_UTF8Value.length()*4; -+#if defined(__DragonFly__) ++#if defined(__DragonFly__) || (__linux__) char *InBuff=In; +#else + const char *InBuff=In; |