rpms/greyhounds/F-13 greyhound-save.patch, NONE, 1.1 greyhounds.spec, 1.4, 1.5
Bruno Wolff III
bruno at fedoraproject.org
Sat Mar 27 14:40:25 UTC 2010
Author: bruno
Update of /cvs/pkgs/rpms/greyhounds/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv20837
Modified Files:
greyhounds.spec
Added Files:
greyhound-save.patch
Log Message:
Possible fix for save game issue - Bug 562038
greyhound-save.patch:
load_save.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- NEW FILE greyhound-save.patch ---
--- src/load_save.c.orig 2010-03-27 09:29:20.000000000 -0500
+++ src/load_save.c 2010-03-27 09:25:14.000000000 -0500
@@ -74,9 +74,9 @@
gint i;
/* first all the names and integers */
- fwrite((void*)Dog.name, 19, 1, fil);
- fwrite((void*)Dog.mother_name, 19, 1, fil);
- fwrite((void*)Dog.father_name, 19, 1, fil);
+ fwrite((void*)&Dog.name, 19, 1, fil);
+ fwrite((void*)&Dog.mother_name, 19, 1, fil);
+ fwrite((void*)&Dog.father_name, 19, 1, fil);
fwrite((void*)&Dog.id, sizeof(gint), 1, fil);
fwrite((void*)&Dog.gender, sizeof(gint), 1, fil);
fwrite((void*)&Dog.level, sizeof(gint), 1, fil);
Index: greyhounds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/greyhounds/F-13/greyhounds.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- greyhounds.spec 27 Mar 2010 03:51:35 -0000 1.4
+++ greyhounds.spec 27 Mar 2010 14:40:25 -0000 1.5
@@ -1,6 +1,6 @@
Name: greyhounds
Version: 0.8
-Release: 0.6.prealpha%{?dist}
+Release: 0.7.prealpha%{?dist}
Summary: Greyhounds is a greyhounds racing and breeding game
Summary(pl): Greyhounds to wyścigi i hodowla chartów
Group: Amusements/Games
@@ -11,6 +11,7 @@ Source1: %{name}.desktop
# Patch 0 should go upstrem
Patch0: greyhound-am.patch
Patch1: greyhound-in.patch
+Patch2: greyhound-save.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils gtk2-devel ImageMagick
Requires: hicolor-icon-theme
@@ -34,6 +35,7 @@ czasowe.
%setup -q -n %{name}-%{version}-pre-alpha
%patch0
%patch1
+%patch2
# Create icons and make appropriate dir structure
mkdir icons
@@ -88,6 +90,9 @@ fi
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
+* Sat Mar 27 2010 Bruno Wolff III <bruno at wolff.to> - 0.8-0.7.prealpha
+- Possible fix for save game issue - Bug 562038
+
* Fri Mar 26 2010 Bruno Wolff III <bruno at wolff.to> - 0.8-0.6.prealpha
- Include -lm to fix DSO issue - Bug 565040
More information about the scm-commits
mailing list