Hello community,

here is the log from the commit of package xbase for openSUSE:Factory checked 
in at 2012-03-23 12:11:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xbase (Old)
 and      /work/SRC/openSUSE:Factory/.xbase.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xbase", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/xbase/xbase.changes      2011-11-22 
17:50:01.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.xbase.new/xbase.changes 2012-03-23 
12:11:27.000000000 +0100
@@ -1,0 +2,5 @@
+Sat Mar 17 13:27:41 UTC 2012 - [email protected]
+
+- Add xbase-2.0.0-gcc47.patch: Fix build with gcc 4.7.
+
+-------------------------------------------------------------------

New:
----
  xbase-2.0.0-gcc47.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xbase.spec ++++++
--- /var/tmp/diff_new_pack.SrjfAQ/_old  2012-03-23 12:11:31.000000000 +0100
+++ /var/tmp/diff_new_pack.SrjfAQ/_new  2012-03-23 12:11:31.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xbase
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 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
@@ -16,20 +16,22 @@
 #
 
 
-
 Name:           xbase
-BuildRequires:  doxygen gcc-c++ libtool
+BuildRequires:  doxygen
+BuildRequires:  gcc-c++
+BuildRequires:  libtool
+Summary:        XBase Compatible C++ Class Library
 License:        LGPL-2.1+
 Group:          Productivity/Databases/Tools
-Summary:        XBase Compatible C++ Class Library
 Url:            http://linux.techass.com/projects/xdb/#downloads
 Version:        2.0.0
-Release:        252
+Release:        0
 Source0:        %name-%version.tar.bz2
 Patch1:         %name-%version-makefiles.patch
 Patch2:         %name-%version-gcc41fix.patch
 Patch3:         %name-%version-iostream_h.patch
 Patch4:         %name-%version-array-del.patch
+Patch5:         %name-%version-gcc47.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -40,10 +42,10 @@
 and developer documentation.
 
 %package devel
-License:        LGPL-2.1+
-Group:          Development/Libraries/C and C++
 Summary:        Developmnet files for XBase Compatible C++ Class Library
-Requires:       %{name} = %{version} libstdc++-devel
+Group:          Development/Libraries/C and C++
+Requires:       %{name} = %{version}
+Requires:       libstdc++-devel
 Provides:       xbase:/usr/include/xbase/dbf.h
 
 %description devel
@@ -53,9 +55,8 @@
 This package contains header files and development files.
 
 %package doc
-License:        LGPL-2.1+
-Group:          Productivity/Databases/Tools
 Summary:        Developer documentation for XBase Compatible C++ Class Library
+Group:          Productivity/Databases/Tools
 Requires:       %{name} = %{version}
 Provides:       xbase:/usr/share/doc/packages/xbase-doc/html/classes.html
 
@@ -72,6 +73,7 @@
 %patch2
 %patch3
 %patch4
+%patch5 -p1
 
 %build
 autoreconf -fiv

++++++ xbase-2.0.0-gcc47.patch ++++++
Index: xbase-2.0.0/bin/dumprecs.cpp
===================================================================
--- xbase-2.0.0.orig/bin/dumprecs.cpp
+++ xbase-2.0.0/bin/dumprecs.cpp
@@ -77,10 +77,10 @@ int main(int ac,char** av)
      }
 
      cout << "\nLoop through forwards...\n";
-     int i = 0;
-     while(i<MyFile.NoOfRecords()) {
-       MyFile.DumpRecord(i+1);
-       i++;
+     int j = 0;
+     while(j<MyFile.NoOfRecords()) {
+       MyFile.DumpRecord(j+1);
+       j++;
      }
 
      MyFile.CloseDatabase();   /* close database */
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to