rpms/pingus/devel pingus-0.7.2-gcc44.patch, NONE, 1.1 pingus.spec, 1.12, 1.13

Rafał Psota rafalzaq at fedoraproject.org
Thu Feb 19 16:01:34 UTC 2009


Author: rafalzaq

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

Modified Files:
	pingus.spec 
Added Files:
	pingus-0.7.2-gcc44.patch 
Log Message:
gcc 4.4 fix

pingus-0.7.2-gcc44.patch:

--- NEW FILE pingus-0.7.2-gcc44.patch ---
diff -up ./src/input/evdev_device.cpp.orig ./src/input/evdev_device.cpp
--- ./src/input/evdev_device.cpp.orig	2007-10-01 19:24:54.000000000 +0200
+++ ./src/input/evdev_device.cpp	2009-02-19 16:35:26.000000000 +0100
@@ -25,6 +25,8 @@
 #include <stdexcept>
 #include <iostream>
 #include <errno.h>
+#include <cstring>
+#include <cstdio>
 
 #include "evdev_device.hpp"
 
diff -up ./src/tinygettext/po_file_reader.cpp.orig ./src/tinygettext/po_file_reader.cpp
--- ./src/tinygettext/po_file_reader.cpp.orig	2007-10-18 19:54:01.000000000 +0200
+++ ./src/tinygettext/po_file_reader.cpp	2009-02-19 15:11:32.000000000 +0100
@@ -26,6 +26,7 @@
 #include <string.h>
 #include "iconv.hpp"
 #include "po_file_reader.hpp"
+#include <cstdio>
 
 namespace TinyGetText {
 


Index: pingus.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pingus/devel/pingus.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- pingus.spec	18 Dec 2008 07:48:36 -0000	1.12
+++ pingus.spec	19 Feb 2009 16:01:04 -0000	1.13
@@ -1,6 +1,6 @@
 Name:           pingus
 Version:        0.7.2
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Guide the penguins safely home before they drop of the cliff
 Group:          Amusements/Games
 License:        GPLv2+
@@ -8,7 +8,8 @@
 Source0:        http://pingus.seul.org/files/%{name}-%{version}.tar.bz2
 Source1:        pingus.desktop
 Source2:        pingus.png
-Patch0:         pingus-0.7.2-gcc43.patch
+#Patch0:         pingus-0.7.2-gcc43.patch
+Patch1:         pingus-0.7.2-gcc44.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  SDL_mixer-devel SDL_image-devel boost-devel libpng-devel
 BuildRequires:  physfs-devel scons desktop-file-utils
@@ -25,7 +26,8 @@
 
 %prep
 %setup -q
-%patch0 -p1
+#%patch0 -p1
+%patch1 -p0
 iconv -f ISO8859-2 -t UTF8 AUTHORS > AUTHORS.tmp
 mv AUTHORS.tmp AUTHORS
 
@@ -78,6 +80,9 @@
 
 
 %changelog
+* Thu Feb 19 2009 Rafał Psota <rafalzaq at gmail.com> - 0.7.2-5
+- Fix compiling with gcc 4.4
+
 * Wed Dec 17 2008 Benjamin Kosnik  <bkoz at redhat.com> - 0.7.2-4
 - Rebuild for boost-1.37.0.
 




More information about the fedora-extras-commits mailing list