Hello community, here is the log from the commit of package ocrad checked in at Thu Jan 10 02:32:32 CET 2008. -------- --- ocrad/ocrad.changes 2007-07-30 18:25:22.000000000 +0200 +++ /mounts/work_src_done/STABLE/ocrad/ocrad.changes 2008-01-07 14:33:10.494420000 +0100 @@ -1,0 +2,5 @@ +Mon Jan 7 14:32:56 CET 2008 - ssommer@suse.de + +- fix build with gcc43 + +------------------------------------------------------------------- New: ---- ocrad-0.17-gcc43.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ocrad.spec ++++++ --- /var/tmp/diff_new_pack.e17379/_old 2008-01-10 02:22:56.000000000 +0100 +++ /var/tmp/diff_new_pack.e17379/_new 2008-01-10 02:22:56.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package ocrad (Version 0.17) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 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. # @@ -12,17 +12,17 @@ Name: ocrad BuildRequires: gcc-c++ -URL: https://savannah.gnu.org/projects/ocrad/ +Url: https://savannah.gnu.org/projects/ocrad/ Summary: GNU Ocrad--Optical Character Recognition Program Version: 0.17 -Release: 1 +Release: 17 Group: Productivity/Graphics/Other #Requires: #Provides: License: GPL v2 or later # URL: Source0: ocrad-%{version}.tar.bz2 -# Patch: ocrad-%{version}.dif +Patch: ocrad-%{version}-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -45,9 +45,10 @@ %define INSTALL_SCRIPT install -m755 %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 + %prep %setup -n ocrad-%{version} -# %patch +%patch0 -p1 %build ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man @@ -74,6 +75,8 @@ # spec file ends here %changelog +* Mon Jan 07 2008 - ssommer@suse.de +- fix build with gcc43 * Mon Jul 30 2007 - freitag@suse.de * Version 0.17 released. * License updated to GPL version 3 or later. ++++++ ocrad-0.17-gcc43.patch ++++++ diff -Naur ocrad-0.17.org/character_r12.cc ocrad-0.17/character_r12.cc --- ocrad-0.17.org/character_r12.cc 2008-01-07 14:11:20.548674000 +0100 +++ ocrad-0.17/character_r12.cc 2008-01-07 14:25:56.521831000 +0100 @@ -17,6 +17,7 @@ #include <cstdio> #include <vector> +#include <cstdlib> #include "common.h" #include "rectangle.h" #include "ucs.h" diff -Naur ocrad-0.17.org/common.cc ocrad-0.17/common.cc --- ocrad-0.17.org/common.cc 2008-01-07 14:11:20.567656000 +0100 +++ ocrad-0.17/common.cc 2008-01-07 14:12:38.117025000 +0100 @@ -18,6 +18,7 @@ #include <algorithm> #include <cstdio> #include <cstdlib> +#include <cstring> #include "common.h" diff -Naur ocrad-0.17.org/page_image.cc ocrad-0.17/page_image.cc --- ocrad-0.17.org/page_image.cc 2008-01-07 14:11:20.612610000 +0100 +++ ocrad-0.17/page_image.cc 2008-01-07 14:19:52.943771000 +0100 @@ -19,6 +19,8 @@ #include <cctype> #include <cstdio> #include <vector> +#include <climits> +#include <string> #include "common.h" #include "rational.h" diff -Naur ocrad-0.17.org/page_image_layout.cc ocrad-0.17/page_image_layout.cc --- ocrad-0.17.org/page_image_layout.cc 2008-01-07 14:11:20.650575000 +0100 +++ ocrad-0.17/page_image_layout.cc 2008-01-07 14:21:28.079532000 +0100 @@ -18,6 +18,7 @@ #include <algorithm> #include <cstdio> #include <vector> +#include <string> #include "common.h" #include "rational.h" diff -Naur ocrad-0.17.org/textblock.cc ocrad-0.17/textblock.cc --- ocrad-0.17.org/textblock.cc 2008-01-07 14:11:20.671554000 +0100 +++ ocrad-0.17/textblock.cc 2008-01-07 14:29:36.775354000 +0100 @@ -18,6 +18,7 @@ #include <algorithm> #include <cstdio> #include <vector> +#include <string> #include "common.h" #include "rational.h" diff -Naur ocrad-0.17.org/textline.cc ocrad-0.17/textline.cc --- ocrad-0.17.org/textline.cc 2008-01-07 14:11:20.675546000 +0100 +++ ocrad-0.17/textline.cc 2008-01-07 14:27:08.152127000 +0100 @@ -19,6 +19,7 @@ #include <cctype> #include <cstdio> #include <vector> +#include <string> #include "common.h" #include "rational.h" diff -Naur ocrad-0.17.org/textline_r2.cc ocrad-0.17/textline_r2.cc --- ocrad-0.17.org/textline_r2.cc 2008-01-07 14:11:20.679548000 +0100 +++ ocrad-0.17/textline_r2.cc 2008-01-07 14:28:11.473737000 +0100 @@ -17,6 +17,7 @@ #include <cctype> #include <cstdio> +#include <cstdlib> #include <vector> #include "common.h" diff -Naur ocrad-0.17.org/textpage.cc ocrad-0.17/textpage.cc --- ocrad-0.17.org/textpage.cc 2008-01-07 14:11:20.685540000 +0100 +++ ocrad-0.17/textpage.cc 2008-01-07 14:31:27.944066000 +0100 @@ -15,6 +15,7 @@ along with this program. If not, see http://www.gnu.org/licenses/. */ +#include <algorithm> #include <cstdio> #include <string> #include <vector> diff -Naur ocrad-0.17.org/track.cc ocrad-0.17/track.cc --- ocrad-0.17.org/track.cc 2008-01-07 14:11:20.703522000 +0100 +++ ocrad-0.17/track.cc 2008-01-07 14:15:00.739270000 +0100 @@ -15,6 +15,7 @@ along with this program. If not, see http://www.gnu.org/licenses/. */ +#include <cstdio> #include <algorithm> #include <vector> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@Hilbert.suse.de