diff options
author | pav <pav@FreeBSD.org> | 2011-03-19 18:04:01 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2011-03-19 18:04:01 +0800 |
commit | 81fb281bbd57dbd2642158b0207112cf4bc5e753 (patch) | |
tree | cc2d8644516414013dd99b3af5c1ff8ddf916261 | |
parent | 5d9739b8ad23e7c46871147287a498e34062c054 (diff) | |
download | freebsd-ports-gnome-81fb281bbd57dbd2642158b0207112cf4bc5e753.tar.gz freebsd-ports-gnome-81fb281bbd57dbd2642158b0207112cf4bc5e753.tar.zst freebsd-ports-gnome-81fb281bbd57dbd2642158b0207112cf4bc5e753.zip |
- Fix build with new taglib
Submitted by: Jason E. Hale <bsdkaffee@gmail.com>
-rw-r--r-- | audio/taglookup/distinfo | 1 | ||||
-rw-r--r-- | audio/taglookup/files/patch-Makefile | 11 | ||||
-rw-r--r-- | audio/taglookup/files/patch-tag.cpp | 22 |
3 files changed, 33 insertions, 1 deletions
diff --git a/audio/taglookup/distinfo b/audio/taglookup/distinfo index 0a43763e839b..728354348508 100644 --- a/audio/taglookup/distinfo +++ b/audio/taglookup/distinfo @@ -1,3 +1,2 @@ -MD5 (taglookup-0.2.tgz) = a77d0ea7714c338be53485db94269640 SHA256 (taglookup-0.2.tgz) = 78463a754a85c438ffdffda4326ac83723616ba5f941a44dcd2d6b2dcfbfb0be SIZE (taglookup-0.2.tgz) = 16869 diff --git a/audio/taglookup/files/patch-Makefile b/audio/taglookup/files/patch-Makefile new file mode 100644 index 000000000000..9f154f0aaaed --- /dev/null +++ b/audio/taglookup/files/patch-Makefile @@ -0,0 +1,11 @@ +--- ./Makefile.orig 2007-10-29 08:02:54.000000000 -0400 ++++ ./Makefile 2011-03-18 18:59:23.000000000 -0400 +@@ -4,7 +4,7 @@ + TAGLIB_INCLUDE = `taglib-config --cflags` + TAGLIB_LIBRARY = `taglib-config --libs` + +-CPP = g++ ++CPP = $(CXX) + + CPPFLAGS = -Wall $(TAGLIB_INCLUDE) $(LIBCDDB_INCLUDE) -c + LDFLAGS = $(TAGLIB_LIBRARY) $(LIBCDDB_LIBRARY) diff --git a/audio/taglookup/files/patch-tag.cpp b/audio/taglookup/files/patch-tag.cpp new file mode 100644 index 000000000000..e76444ce7682 --- /dev/null +++ b/audio/taglookup/files/patch-tag.cpp @@ -0,0 +1,22 @@ +--- ./tag.cpp.orig 2007-10-28 18:42:56.000000000 -0400 ++++ ./tag.cpp 2011-03-18 18:59:23.000000000 -0400 +@@ -27,6 +27,7 @@ + #include <utility> + + #include <ostream> ++#include <iostream> + + // LibC TODO Replace with STL + // POSIX +@@ -49,9 +50,9 @@ + namespace TagLookup + { + // Utility functions: +- const TagLib::String::String toUTF8String(const std::string& s) ++ const TagLib::String toUTF8String(const std::string& s) + { +- const TagLib::String::String new_string(s, TagLib::String::UTF8); ++ const TagLib::String new_string(s, TagLib::String::UTF8); + + return new_string; + } // toUTF8String |