diff --git a/fix-compile.diff b/fix-compile.diff new file mode 100644 index 0000000..8268110 --- /dev/null +++ b/fix-compile.diff @@ -0,0 +1,58 @@ +--- src/translators/htmlexporter.cpp 2007/02/06 08:11:41 1.1 ++++ src/translators/htmlexporter.cpp 2007/02/06 08:12:09 +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include + #include +--- ./src/cite/lyxpipe.cpp 2007/02/06 08:26:20 1.1 ++++ ./src/cite/lyxpipe.cpp 2007/02/06 08:26:46 +@@ -18,6 +18,7 @@ + #include "../core/tellico_config.h" + + #include ++#include + + #include + #include +--- src/entryview.cpp 2007/02/06 08:36:01 1.1 ++++ src/entryview.cpp 2007/02/06 08:36:12 +@@ -25,6 +25,7 @@ + #include "newstuff/manager.h" + #include "document.h" + ++#include + #include + #include + #include +--- ./src/translators/audiofileimporter.cpp 2007/02/06 08:54:17 1.1 ++++ ./src/translators/audiofileimporter.cpp 2007/02/06 09:16:19 +@@ -220,10 +220,10 @@ + entry->setField(file, insertValue(entry->field(file), *it, trackNum)); + } + } else { +- myDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl; ++ kdDebug() << *it << " contains no track number and track number cannot be determined, so the track is not imported." << endl; + } + } else { +- myDebug() << *it << " has an empty title, so the track is not imported." << endl; ++ kdDebug() << *it << " has an empty title, so the track is not imported." << endl; + } + if(!tag->comment().stripWhiteSpace().isEmpty()) { + QString c = entry->field(comments); +@@ -338,9 +338,9 @@ + list += QString::null; + } + if(!list[pos_-1].isNull()) { +- myDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl; +- myDebug() << "*** Old value: " << list[pos_-1] << endl; +- myDebug() << "*** New value: " << value_ << endl; ++ kdDebug() << "AudioFileImporter::insertValue() - overwriting track " << pos_ << endl; ++ kdDebug() << "*** Old value: " << list[pos_-1] << endl; ++ kdDebug() << "*** New value: " << value_ << endl; + } + list[pos_-1] = value_; + return list.join(QString::fromLatin1("; ")); diff --git a/tellico.changes b/tellico.changes index d95e8a6..fcad96c 100644 --- a/tellico.changes +++ b/tellico.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 6 10:30:23 CET 2007 - stbinner@suse.de + +- fix build on < 10.1 + ------------------------------------------------------------------- Mon Feb 5 16:24:04 CET 2007 - stbinner@suse.de diff --git a/tellico.spec b/tellico.spec index 534fbe2..c25ca76 100644 --- a/tellico.spec +++ b/tellico.spec @@ -20,7 +20,7 @@ BuildRequires: libjpeg-devel %endif Summary: A book collection manager Version: 1.2.8 -Release: 1 +Release: 2 License: GNU General Public License (GPL) Group: Productivity/Other Source: %{name}-%{version}.tar.gz @@ -29,6 +29,7 @@ Obsoletes: bookcase BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: /opt/kde3 URL: http://www.periapsis.org/tellico/ +Patch: fix-compile.diff %description Tellico is an KDE application for keeping track of your collections. It @@ -39,6 +40,7 @@ coins, stamps, trading cards, comic books, and wines. %prep %setup -q +%patch . /etc/opt/kde3/common_options update_admin --no-unsermake @@ -73,6 +75,8 @@ rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs %defattr(-,root,root,0755) %changelog -n tellico +* Tue Feb 06 2007 - stbinner@suse.de +- fix build on < 10.1 * Mon Feb 05 2007 - stbinner@suse.de - update to version 1.2.8: * Fixed bug with secondary and tertiary sorting.