rpms/rcssmonitor/devel rcssmonitor-13.1.0-gcc4_4fix.patch, NONE, 1.1 rcssmonitor.spec, 1.6, 1.7

Hedayat Vatankhah hedayat at fedoraproject.org
Tue Apr 7 14:55:18 UTC 2009


Author: hedayat

Update of /cvs/pkgs/rpms/rcssmonitor/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29466

Modified Files:
	rcssmonitor.spec 
Added Files:
	rcssmonitor-13.1.0-gcc4_4fix.patch 
Log Message:
New upstream release: 13.1.0

rcssmonitor-13.1.0-gcc4_4fix.patch:

--- NEW FILE rcssmonitor-13.1.0-gcc4_4fix.patch ---
diff -up rcssmonitor-13.1.0/src/2dview.C.gcc4_4fix rcssmonitor-13.1.0/src/2dview.C
--- rcssmonitor-13.1.0/src/2dview.C.gcc4_4fix	2009-04-07 18:57:12.000000000 +0430
+++ rcssmonitor-13.1.0/src/2dview.C	2009-04-07 18:57:50.000000000 +0430
@@ -54,6 +54,7 @@
 #include <ctime>
 #include <cstring>
 #include <cerrno>   //for return values of select
+#include <cstdio>
 #include <sys/time.h>
 #include <sys/types.h>
 #include <unistd.h>


Index: rcssmonitor.spec
===================================================================
RCS file: /cvs/pkgs/rpms/rcssmonitor/devel/rcssmonitor.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- rcssmonitor.spec	7 Apr 2009 14:14:15 -0000	1.6
+++ rcssmonitor.spec	7 Apr 2009 14:54:47 -0000	1.7
@@ -1,6 +1,6 @@
 Name:           rcssmonitor
 Version:        13.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        RoboCup 2D Soccer Simulator Monitor
 
 Group:          Applications/System
@@ -9,6 +9,7 @@
 Source0:        http://downloads.sourceforge.net/sserver/%{name}-%{version}.tar.gz
 # Source 1 is created by me.
 Source1:        %{name}.desktop
+Patch0:         %{name}-13.1.0-gcc4_4fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  automake boost-devel libXpm-devel libX11-devel desktop-file-utils
@@ -28,6 +29,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .gcc4_4fix
 sed -i.lib \
     -e 's|\$ac_boost_path/lib|\$libdir|' \
     -e 's|$ac_boost_path_tmp/lib|\$libdir|' \
@@ -60,6 +62,9 @@
 %{_datadir}/applications/*
 
 %changelog
+* Tue Apr 07 2009 Hedayat Vatankhah <hedayat at grad.com> 13.1.0-2
+- Added a patch for gcc4.4 compilation fixing.
+
 * Tue Apr 07 2009 Hedayat Vatankhah <hedayat at grad.com> 13.1.0-1
 - Updated to new upstream release
 




More information about the fedora-extras-commits mailing list