rpms/monsterz/F-10 monsterz-0.7.1-blit-crash.patch, NONE, 1.1 monsterz.spec, 1.6, 1.7
Rafał Psota
rafalzaq at fedoraproject.org
Thu Feb 5 20:25:07 UTC 2009
Author: rafalzaq
Update of /cvs/pkgs/rpms/monsterz/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv32321
Modified Files:
monsterz.spec
Added Files:
monsterz-0.7.1-blit-crash.patch
Log Message:
#473763 fix
monsterz-0.7.1-blit-crash.patch:
--- NEW FILE monsterz-0.7.1-blit-crash.patch ---
--- monsterz.py.orig 2007-12-17 23:05:00.000000000 +0100
+++ monsterz.py 2009-02-05 20:54:07.000000000 +0100
@@ -829,10 +829,10 @@
pass
else:
for x in range(4):
- for y, p in enumerate(alpha[x]):
- alpha[x][y] = p * x / 4
- for y, p in enumerate(alpha[406 - x - 1]):
- alpha[406 - x - 1][y] = p * x / 4
+ for y in range(len(alpha[x])):
+ alpha[x][y] = alpha[x][y] * x / 4
+ for y in range(len(alpha[406 - x - 1])):
+ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 4
for col in alpha:
l = len(col)
for y in range(4):
@@ -1287,10 +1287,10 @@
pass
else:
for x in range(10):
- for y, p in enumerate(alpha[x]):
- alpha[x][y] = p * x / 12
- for y, p in enumerate(alpha[406 - x - 1]):
- alpha[406 - x - 1][y] = p * x / 12
+ for y in range(len(alpha[x])):
+ alpha[x][y] = alpha[x][y] * x / 12
+ for y in range(len(alpha[406 - x - 1])):
+ alpha[406 - x - 1][y] = alpha[406 - x - 1][y] * x / 12
del alpha
scroll.unlock()
system.blit(scroll, (13, 437))
Index: monsterz.spec
===================================================================
RCS file: /cvs/pkgs/rpms/monsterz/F-10/monsterz.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- monsterz.spec 26 Feb 2008 19:45:35 -0000 1.6
+++ monsterz.spec 5 Feb 2009 20:24:37 -0000 1.7
@@ -1,6 +1,6 @@
Name: monsterz
Version: 0.7.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Puzzle game, similar to Bejeweled or Zookeeper
Group: Amusements/Games
License: WTFPL
@@ -9,6 +9,7 @@
Source1: %{name}.score
Patch0: %{name}-0.7.1-userpmopts.patch
Patch1: %{name}-0.7.1-64bitfix.patch
+Patch2: %{name}-0.7.1-blit-crash.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: desktop-file-utils
Requires: pygame
@@ -31,6 +32,7 @@
%ifarch x86_64 ppc64
%patch1 -p1
%endif
+%patch2 -p0
%build
@@ -102,6 +104,9 @@
%changelog
+* Thu Feb 05 2009 RafaÅ Psota <rafalzaq at gmail.com> - 0.7.1-4
+- fixed #473763
+
* Tue Feb 26 2008 Ian Chapman <packages[AT]amiga-hardware.com> 0.7.1-3
- Fix for BZ 434688
More information about the scm-commits
mailing list