Hello community,
here is the log from the commit of package ccscript3
checked in at Thu Oct 11 19:16:35 CEST 2007.
--------
--- ccscript3/ccscript3.changes 2006-07-18 18:10:52.000000000 +0200
+++ /mounts/work_src_done/STABLE/ccscript3/ccscript3.changes 2007-10-11 17:59:05.788863000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 11 17:58:24 CEST 2007 - kkeil@suse.de
+
+- fixes for GCC 4.3
+
+-------------------------------------------------------------------
New:
----
ccscript3-gcc43.diff
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ccscript3.spec ++++++
--- /var/tmp/diff_new_pack.Y32068/_old 2007-10-11 19:15:02.000000000 +0200
+++ /var/tmp/diff_new_pack.Y32068/_new 2007-10-11 19:15:02.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package ccscript3 (Version 1.0.9)
#
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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.
#
@@ -12,19 +12,20 @@
Name: ccscript3
BuildRequires: commoncpp2-devel gcc-c++ pkgconfig unixODBC-devel
-URL: http://www.gnu.org/software/ccscript/
-License: GPL
+Url: http://www.gnu.org/software/ccscript/
+License: GPL v2 or later
Group: Productivity/Multimedia/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Autoreqprov: on
+AutoReqProv: on
Requires: commoncpp2
Provides: ccscript
Obsoletes: ccscript
Summary: a GNU Common C++ framework for embedded scripting
Version: 1.0.9
-Release: 1
+Release: 68
Source: %{name}-%{version}.tar.bz2
Patch1: unixODBC.diff
+Patch2: ccscript3-gcc43.diff
%description
The GNU ccScript package offers a class extensible threaded embedded
@@ -58,6 +59,7 @@
%prep
%setup -n %{name}-%{version}
%patch1
+%patch2 -p1
%build
%{?suse_update_config:%{suse_update_config -f}}
@@ -68,10 +70,9 @@
--mandir=%{_mandir} \
--libdir=%{_libdir} \
--with-pic=yes
-make
+make CPPFLAGS="$RPM_OPT_FLAGS"
%install
-[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
make DESTDIR=$RPM_BUILD_ROOT install
%clean
@@ -97,8 +98,9 @@
%{_prefix}/%{_lib}/libccscript*.la
%{_prefix}/%{_lib}/pkgconfig/libccscript3.pc
%{_prefix}/include/cc++/script3.h
-
-%changelog -n ccscript3
+%changelog
+* Thu Oct 11 2007 - kkeil@suse.de
+- fixes for GCC 4.3
* Tue Jul 18 2006 - kkaempf@suse.de
- update to 1.0.9
* Wed Jan 25 2006 - mls@suse.de
++++++ ccscript3-gcc43.diff ++++++
Index: ccscript3-1.0.9/modules/math.cpp
===================================================================
--- ccscript3-1.0.9.orig/modules/math.cpp
+++ ccscript3-1.0.9/modules/math.cpp
@@ -36,6 +36,7 @@
//
#include "script3.h"
+#include <cstdlib>
#include <cmath>
#ifndef M_PI
Index: ccscript3-1.0.9/modules/check.cpp
===================================================================
--- ccscript3-1.0.9.orig/modules/check.cpp
+++ ccscript3-1.0.9/modules/check.cpp
@@ -36,6 +36,7 @@
//
#include "script3.h"
+#include <cstdlib>
namespace ccscript3Extension {
Index: ccscript3-1.0.9/modules/csv.cpp
===================================================================
--- ccscript3-1.0.9.orig/modules/csv.cpp
+++ ccscript3-1.0.9/modules/csv.cpp
@@ -37,6 +37,7 @@
#include "script3.h"
#include