Hello community, here is the log from the commit of package palm-db-tools for openSUSE:Factory checked in at Fri Jun 12 19:51:40 CEST 2009. -------- --- palm-db-tools/palm-db-tools.changes 2007-10-24 11:26:52.000000000 +0200 +++ palm-db-tools/palm-db-tools.changes 2009-06-11 14:09:55.000000000 +0200 @@ -1,0 +2,6 @@ +Thu Jun 11 14:08:51 CEST 2009 - nadvornik@novell.com + +- fixed to compile with new gcc +- removed obsolete macro %run_ldconfig + +------------------------------------------------------------------- calling whatdependson for head-i586 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ palm-db-tools.spec ++++++ --- /var/tmp/diff_new_pack.x21584/_old 2009-06-12 19:49:48.000000000 +0200 +++ /var/tmp/diff_new_pack.x21584/_new 2009-06-12 19:49:48.000000000 +0200 @@ -1,22 +1,30 @@ # # spec file for package palm-db-tools (Version 0.3.6) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. +# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild + Name: palm-db-tools BuildRequires: gcc-c++ License: GPL v2 or later Group: Hardware/Palm AutoReqProv: on Version: 0.3.6 -Release: 190 +Release: 251 Source: %{name}-%{version}.tar.bz2 Patch: %{name}.dif Patch1: %{name}-%{version}-type-fix.diff @@ -68,11 +76,9 @@ %clean rm -rf $RPM_BUILD_ROOT -%post -%run_ldconfig +%post -p /sbin/ldconfig -%postun -%run_ldconfig +%postun -p /sbin/ldconfig %files %defattr(-,root,root) @@ -80,35 +86,39 @@ /usr/%_lib/libpdbtools.so /usr/bin/csv2pdb /usr/bin/pdb2csv + %changelog -* Wed Oct 24 2007 - nadvornik@suse.cz +* Thu Jun 11 2009 nadvornik@novell.com +- fixed to compile with new gcc +- removed obsolete macro %%run_ldconfig +* Wed Oct 24 2007 nadvornik@suse.cz - added missing includes -* Wed Jan 25 2006 - mls@suse.de +* Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires -* Mon Jan 23 2006 - schwab@suse.de +* Tue Jan 24 2006 schwab@suse.de - Don't strip binaries. -* Wed Apr 27 2005 - postadal@suse.cz +* Wed Apr 27 2005 postadal@suse.cz - fixed for gcc 4.0 -* Sat Jan 10 2004 - adrian@suse.de +* Sat Jan 10 2004 adrian@suse.de - add %%defattr and %%run_ldconfig -* Fri Aug 22 2003 - postadal@suse.cz +* Fri Aug 22 2003 postadal@suse.cz - fixed data type (type-fix.diff) - build libflatfile.a with -fPIC -* Thu Jul 31 2003 - ro@suse.de +* Thu Jul 31 2003 ro@suse.de - try to fix installation (urgs...) -* Mon Jul 28 2003 - postadal@suse.cz +* Mon Jul 28 2003 postadal@suse.cz - updated to version 0.3.6 - removed obsoleted patches (c++, gcc, makefile) -* Wed Jan 22 2003 - postadal@suse.cz +* Wed Jan 22 2003 postadal@suse.cz - updated to version 0.3.5 * note, link, linked field Type support - fix to compile with gcc3.2 -* Thu Jan 31 2002 - schwab@suse.de +* Thu Jan 31 2002 schwab@suse.de - Fix for gcc3. -* Sun Oct 07 2001 - tcrhak@suse.cz +* Sun Oct 07 2001 tcrhak@suse.cz - added -a to automake (needed by automake 1.5-4) -* Fri Aug 10 2001 - adostal@suse.cz +* Fri Aug 10 2001 adostal@suse.cz - update to version 0.3.2 (stable) - add makefile patch -* Mon Jun 04 2001 - pblaha@suse.cz +* Mon Jun 04 2001 pblaha@suse.cz - create this package version 0.3.2 ++++++ palm-db-tools-0.3.6-type-fix.diff ++++++ --- /var/tmp/diff_new_pack.x21584/_old 2009-06-12 19:49:48.000000000 +0200 +++ /var/tmp/diff_new_pack.x21584/_new 2009-06-12 19:49:48.000000000 +0200 @@ -1,5 +1,14 @@ --- libflatfile/DB.cpp +++ libflatfile/DB.cpp +@@ -221,7 +221,7 @@ + throw PalmLib::error("list view is corrupt"); + + // Determine the length of the name string. +- pi_char_t* null_ptr = reinterpret_cast<pi_char_t*> ++ const pi_char_t* null_ptr = reinterpret_cast<const pi_char_t*> + (memchr(chunk.data() + 4, 0, 32)); + if (null_ptr) + lv.name = std::string((char *) (chunk.data() + 4), @@ -511,7 +511,8 @@ f.type = PalmLib::FlatFile::Field::LIST; if (!field(j).argument().empty()) { @@ -29,3 +38,61 @@ std::vectorstd::string::iterator iter; size = 2 + 2 * sizeof(pi_uint16_t); while ( (next = data.find(charSeperator, pos)) != std::string::npos) { +--- libflatfile/JFile3.cpp ++++ libflatfile/JFile3.cpp +@@ -454,7 +454,7 @@ + void PalmLib::FlatFile::JFile3::JFileAppInfoType::unpack(const PalmLib::Block& block) + { + unsigned i; +- pi_char_t* null_ptr; ++ const pi_char_t* null_ptr; + + // Ensure that we have enough space to extract information from. + if (block.size() < ( (20 * (20+1)) + 20*2 + 2 + 2 + 20*2 + 2 +@@ -467,7 +467,7 @@ + // Extract the field names. + for (i = 0; i < 20; ++i) { + /* Find the trailing null byte and extract the string. */ +- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 21)); ++ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 21)); + if (null_ptr) + fieldNames[i] = std::string((char *) p, null_ptr - p); + else +@@ -518,7 +518,7 @@ + p += sizeof(pi_uint16_t); + + // Extract the string used last by Find. +- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16)); ++ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 16)); + if (null_ptr) + findString = std::string((char *) p, null_ptr - p); + else +@@ -526,7 +526,7 @@ + p += 16; + + // Extract the string used last by Filter. +- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 16)); ++ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 16)); + if (null_ptr) + filterString = std::string((char *) p, null_ptr - p); + else +@@ -542,7 +542,7 @@ + p += sizeof(pi_uint16_t); + + // Extract the password (if any). +- null_ptr = reinterpret_cast<pi_char_t*> (memchr(p, 0, 12)); ++ null_ptr = reinterpret_cast<const pi_char_t*> (memchr(p, 0, 12)); + if (null_ptr) + password = std::string((char *) p, null_ptr - p); + else +--- libflatfile/MobileDB.cpp ++++ libflatfile/MobileDB.cpp +@@ -221,7 +221,7 @@ + if (field + 1 > fields.size()) fields.resize(field + 1); + + // Now search for the end of the current field. +- pi_char_t* q = reinterpret_cast<pi_char_t*> ++ const pi_char_t* q = reinterpret_cast<const pi_char_t*> + (memchr(p, 0, rec.end() - p)); + if (!q) + throw PalmLib::error("field terminiator is missing"); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org