diff --git a/gcc43-fixes.patch b/gcc43-fixes.patch new file mode 100644 index 0000000..99ea4b1 --- /dev/null +++ b/gcc43-fixes.patch @@ -0,0 +1,52 @@ +--- bindings/c/tag_c.cpp ++++ bindings/c/tag_c.cpp +@@ -21,6 +21,8 @@ + + #include "tag_c.h" + ++#include ++#include + #include + #include + #include +--- taglib/toolkit/tbytevector.cpp ++++ taglib/toolkit/tbytevector.cpp +@@ -21,6 +21,7 @@ + + #include + ++#include + #include + #include + +--- taglib/toolkit/tfile.cpp ++++ taglib/toolkit/tfile.cpp +@@ -26,6 +26,8 @@ + #include + #include + #include ++#include ++#include + + using namespace TagLib; + +--- taglib/toolkit/tstring.cpp ++++ taglib/toolkit/tstring.cpp +@@ -23,6 +23,7 @@ + #include "unicode.h" + #include "tdebug.h" + ++#include + #include + + namespace TagLib { +--- tests/toolkit-test.cpp ++++ tests/toolkit-test.cpp +@@ -27,6 +27,7 @@ + #include + #include + #include ++#include + #include + #include + diff --git a/taglib.changes b/taglib.changes index 7572ace..a3929ae 100644 --- a/taglib.changes +++ b/taglib.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Nov 7 10:52:28 CET 2007 - meissner@suse.de + +- fixed gcc4.3 build + ------------------------------------------------------------------- Wed Aug 8 00:27:37 CEST 2007 - crrodriguez@suse.de diff --git a/taglib.spec b/taglib.spec index 9354f13..7d7f063 100644 --- a/taglib.spec +++ b/taglib.spec @@ -12,16 +12,17 @@ Name: taglib BuildRequires: doxygen fdupes gcc-c++ graphviz update-desktop-files zlib-devel -License: LGPL v2 or later +License: LGPL v2.1 or later Group: Development/Libraries/C and C++ Summary: C++ Library to Parse Metadata in Media Files -URL: http://ktown.kde.org/~wheeler/taglib/ +Url: http://ktown.kde.org/~wheeler/taglib/ Version: 1.4 -Release: 98 +Release: 126 Source0: %name-%version.tar.bz2 Source1: %name.desktop Patch: %name-%version-autoconf.diff Patch1: taglib-includes.diff +Patch2: gcc43-fixes.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,7 +37,7 @@ Authors: %package devel Group: Development/Libraries/C and C++ -License: LGPL v2 or later +License: LGPL v2.1 or later Summary: C++ Library to Parse Metadata in media files Requires: taglib = %{version} libstdc++-devel @@ -54,6 +55,7 @@ Authors: %setup -q %patch %patch1 +%patch2 %{__make} -f Makefile.cvs %build @@ -73,7 +75,6 @@ doxygen taglib.doxygen %{__mkdir_p} %{buildroot}%_defaultdocdir/%name %{__cp} -a AUTHORS COPYING README taglib-api/html \ %{buildroot}%_defaultdocdir/%name/ - %fdupes %{buildroot} # only causes causes bloat %{__rm} %{buildroot}%{_libdir}/libtag*.la @@ -103,8 +104,9 @@ cd tests %{_includedir}/taglib %{_libdir}/libtag*.so %{_libdir}/pkgconfig/taglib.pc - %changelog +* Wed Nov 07 2007 - meissner@suse.de +- fixed gcc4.3 build * Wed Aug 08 2007 - crrodriguez@suse.de - fix more issues: - this package does NOT require libjpeg-devel for build