rpms/workrave/devel workrave-1.8.5-gcc43.patch, NONE, 1.1 workrave.spec, 1.11, 1.12

Tomas Mraz (tmraz) fedora-extras-commits at redhat.com
Tue Feb 19 12:45:05 UTC 2008


Author: tmraz

Update of /cvs/pkgs/rpms/workrave/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23456

Modified Files:
	workrave.spec 
Added Files:
	workrave-1.8.5-gcc43.patch 
Log Message:
* Tue Feb 19 2008 Tomas Mraz <tmraz at redhat.com> - 1.8.5-2
- make it build on gcc-4.3


workrave-1.8.5-gcc43.patch:

--- NEW FILE workrave-1.8.5-gcc43.patch ---
diff -up workrave-1.8.5/backend/src/Statistics.cc.gcc43 workrave-1.8.5/backend/src/Statistics.cc
--- workrave-1.8.5/backend/src/Statistics.cc.gcc43	2007-09-14 20:50:38.000000000 +0200
+++ workrave-1.8.5/backend/src/Statistics.cc	2008-02-19 13:01:44.000000000 +0100
@@ -23,6 +23,7 @@ static const char rcsid[] = "$Id: Statis
 
 #include <sstream>
 #include <assert.h>
+#include <cstring>
 
 #include "debug.hh"
 
diff -up workrave-1.8.5/backend/src/GlibIniConfigurator.cc.gcc43 workrave-1.8.5/backend/src/GlibIniConfigurator.cc
--- workrave-1.8.5/backend/src/GlibIniConfigurator.cc.gcc43	2008-02-19 13:01:15.000000000 +0100
+++ workrave-1.8.5/backend/src/GlibIniConfigurator.cc	2008-02-19 13:00:18.000000000 +0100
@@ -29,6 +29,7 @@ static const char rcsid[] = "$Id: GlibIn
 
 #include "GlibIniConfigurator.hh"
 #include <glib.h>
+#include <cstring>
 
 GlibIniConfigurator::GlibIniConfigurator()
   : config(NULL)


Index: workrave.spec
===================================================================
RCS file: /cvs/pkgs/rpms/workrave/devel/workrave.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- workrave.spec	7 Jan 2008 13:28:05 -0000	1.11
+++ workrave.spec	19 Feb 2008 12:44:31 -0000	1.12
@@ -1,6 +1,6 @@
 Name: workrave
 Version: 1.8.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Program that assists in the recovery and prevention of RSI
 # Based on older packages by Dag Wieers <dag at wieers.com> and Steve Ratcliffe
 License: GPLv2+
@@ -10,6 +10,8 @@
 Source0: http://prdownloads.sourceforge.net/workrave/%{name}-%{version}.tar.gz
 Source1: workrave.desktop
 
+Patch1: workrave-1.8.5-gcc43.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  gettext
 BuildRequires:  gnet2-devel
@@ -26,6 +28,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch1 -p1 -b .gcc43
 
 %build
 if [ ! -x configure ]; then
@@ -66,6 +69,9 @@
 %{_datadir}/applications/fedora-workrave.desktop
 
 %changelog
+* Tue Feb 19 2008 Tomas Mraz <tmraz at redhat.com> - 1.8.5-2
+- make it build on gcc-4.3
+
 * Mon Jan  7 2008 Tomas Mraz <tmraz at redhat.com> - 1.8.5-1
 - upgrade to latest upstream version
 




More information about the fedora-extras-commits mailing list