From: Elan Ruusamäe Date: Tue, 3 Nov 2009 14:19:33 +0000 (+0000) Subject: - add gcc44.patch; rel 2 (thx patrys) X-Git-Tag: auto/th/tellico-1_3_5-2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Ftellico.git;a=commitdiff_plain;h=2cf47644b1d0f31ebf2fd54eb85ffffdb9274438;hp=4974d4e338a9f1b3f04b58fab1becb42aeaaf85f - add gcc44.patch; rel 2 (thx patrys) Changed files: gcc44.patch -> 1.1 tellico.spec -> 1.60 --- diff --git a/gcc44.patch b/gcc44.patch new file mode 100644 index 0000000..2360466 --- /dev/null +++ b/gcc44.patch @@ -0,0 +1,11 @@ +--- tellico-1.3.5/src/translators/pilotdb/libflatfile/DB.cpp~ 2009-11-03 16:11:57.000000000 +0200 ++++ tellico-1.3.5/src/translators/pilotdb/libflatfile/DB.cpp 2009-11-03 16:12:07.794304369 +0200 +@@ -242,7 +242,7 @@ + kdDebug() << "list view is corrupt" << endl; + } + // Determine the length of the name string. +- pi_char_t* null_ptr = reinterpret_cast ++ const pi_char_t* null_ptr = reinterpret_cast + (memchr(chunk.data() + 4, 0, 32)); + if (null_ptr) + lv.name = std::string((char *) (chunk.data() + 4), diff --git a/tellico.spec b/tellico.spec index a119ef0..aad523f 100644 --- a/tellico.spec +++ b/tellico.spec @@ -6,13 +6,14 @@ Summary: A collection manager Summary(pl.UTF-8): Zarządca zbiorów wideo, audio i książek Name: tellico Version: 1.3.5 -Release: 1 +Release: 2 License: GPL v2 Group: X11/Applications Source0: http://www.periapsis.org/tellico/download/%{name}-%{version}.tar.gz # Source0-md5: ca5d9db11fa1dd33dfe317ffe095435c Patch0: %{name}-u64.patch Patch1: %{name}-desktop.patch +Patch2: gcc44.patch URL: http://www.periapsis.org/tellico/ BuildRequires: automake BuildRequires: exempi-devel @@ -43,6 +44,7 @@ księgozbiorów, archiwów wideo i audio. %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build cp -f /usr/share/automake/config.sub admin