rpms/greyhounds/F-13 greyhound-save.patch, 1.1, 1.2 greyhounds.spec, 1.5, 1.6
Bruno Wolff III
bruno at fedoraproject.org
Sat Mar 27 15:45:17 UTC 2010
Author: bruno
Update of /cvs/pkgs/rpms/greyhounds/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv29068
Modified Files:
greyhound-save.patch greyhounds.spec
Log Message:
Another try at fixing the load problem.
greyhound-save.patch:
load_save.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: greyhound-save.patch
===================================================================
RCS file: /cvs/pkgs/rpms/greyhounds/F-13/greyhound-save.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- greyhound-save.patch 27 Mar 2010 14:40:25 -0000 1.1
+++ greyhound-save.patch 27 Mar 2010 15:45:17 -0000 1.2
@@ -1,5 +1,14 @@
--- 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
++++ src/load_save.c 2010-03-27 10:39:00.000000000 -0500
+@@ -46,7 +46,7 @@
+ fwrite((void*)&statistics_order[0][i], sizeof(gint), 1, fil);
+ fwrite((void*)&statistics_order[1][i], sizeof(gint), 1, fil);
+ }
+- fwrite((void*)&order[421], sizeof(gint), 1, fil);
++ fwrite((void*)&order[420], sizeof(gint), 1, fil);
+
+ /* read names !! */
+
@@ -74,9 +74,9 @@
gint i;
@@ -13,3 +22,12 @@
fwrite((void*)&Dog.id, sizeof(gint), 1, fil);
fwrite((void*)&Dog.gender, sizeof(gint), 1, fil);
fwrite((void*)&Dog.level, sizeof(gint), 1, fil);
+@@ -283,7 +283,7 @@
+ fread((void*)&statistics_order[0][i], sizeof(gint), 1, fil);
+ fread((void*)&statistics_order[1][i], sizeof(gint), 1, fil);
+ }
+- fread((void*)&order[421], sizeof(gint), 1, fil);
++ fread((void*)&order[420], sizeof(gint), 1, fil);
+
+ /* date */
+ fread((void*)&season, sizeof(gint), 1, fil);
Index: greyhounds.spec
===================================================================
RCS file: /cvs/pkgs/rpms/greyhounds/F-13/greyhounds.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- greyhounds.spec 27 Mar 2010 14:40:25 -0000 1.5
+++ greyhounds.spec 27 Mar 2010 15:45:17 -0000 1.6
@@ -1,6 +1,6 @@
Name: greyhounds
Version: 0.8
-Release: 0.7.prealpha%{?dist}
+Release: 0.8.prealpha%{?dist}
Summary: Greyhounds is a greyhounds racing and breeding game
Summary(pl): Greyhounds to wyścigi i hodowla chartów
Group: Amusements/Games
@@ -90,6 +90,9 @@ fi
%{_datadir}/applications/fedora-%{name}.desktop
%changelog
+* Sat Mar 27 2010 Bruno Wolff III <bruno at wolff.to> - 0.8-0.8.prealpha
+- Another possible fix for save game issue - Bug 562038
+
* Sat Mar 27 2010 Bruno Wolff III <bruno at wolff.to> - 0.8-0.7.prealpha
- Possible fix for save game issue - Bug 562038
More information about the scm-commits
mailing list