This commit is contained in:
parent
694030eee2
commit
f74841f64f
52
gcc43-fixes.patch
Normal file
52
gcc43-fixes.patch
Normal file
@ -0,0 +1,52 @@
|
||||
--- bindings/c/tag_c.cpp
|
||||
+++ bindings/c/tag_c.cpp
|
||||
@@ -21,6 +21,8 @@
|
||||
|
||||
#include "tag_c.h"
|
||||
|
||||
+#include <cstring>
|
||||
+#include <cstdlib>
|
||||
#include <fileref.h>
|
||||
#include <tfile.h>
|
||||
#include <vorbisfile.h>
|
||||
--- taglib/toolkit/tbytevector.cpp
|
||||
+++ taglib/toolkit/tbytevector.cpp
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
+#include <cstring>
|
||||
#include <tstring.h>
|
||||
#include <tdebug.h>
|
||||
|
||||
--- taglib/toolkit/tfile.cpp
|
||||
+++ taglib/toolkit/tfile.cpp
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <stdio.h>
|
||||
#include <sys/stat.h>
|
||||
#include <unistd.h>
|
||||
+#include <cstring>
|
||||
+#include <cstdlib>
|
||||
|
||||
using namespace TagLib;
|
||||
|
||||
--- taglib/toolkit/tstring.cpp
|
||||
+++ taglib/toolkit/tstring.cpp
|
||||
@@ -23,6 +23,7 @@
|
||||
#include "unicode.h"
|
||||
#include "tdebug.h"
|
||||
|
||||
+#include <cstring>
|
||||
#include <iostream>
|
||||
|
||||
namespace TagLib {
|
||||
--- tests/toolkit-test.cpp
|
||||
+++ tests/toolkit-test.cpp
|
||||
@@ -27,6 +27,7 @@
|
||||
#include <tbytevector.h>
|
||||
#include <tbytevectorlist.h>
|
||||
#include <tstring.h>
|
||||
+#include <cstring>
|
||||
#include <tlist.h>
|
||||
#include <tdebug.h>
|
||||
|
@ -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
|
||||
|
||||
|
14
taglib.spec
14
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user