From 8211d08d7d63ef0a6786edbfe147bb64bb0994cd Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Dec 30 2015 18:17:21 +0000 Subject: Fixed animation crashes --- diff --git a/berusky2-anim-crash.patch b/berusky2-anim-crash.patch new file mode 100644 index 0000000..384e28a --- /dev/null +++ b/berusky2-anim-crash.patch @@ -0,0 +1,14 @@ +diff -up berusky2-0.10/src/komat/Berusky3d.h.old berusky2-0.10/src/komat/Berusky3d.h +--- berusky2-0.10/src/komat/Berusky3d.h.old 2013-09-21 10:18:15.000000000 +0200 ++++ berusky2-0.10/src/komat/Berusky3d.h 2015-12-30 19:07:28.264205991 +0100 +@@ -181,8 +181,8 @@ typedef struct _GLOBALNI_KONT_ANIMACE + + int *p_flag; // kofoluv flag + void *p_param; // kofolova end funkce +- int param; +- int param2; ++ size_ptr param; ++ size_ptr param2; + END_FUNKCE p_endfce; + int konec; + diff --git a/berusky2.spec b/berusky2.spec index 6d703da..31b4a0c 100644 --- a/berusky2.spec +++ b/berusky2.spec @@ -1,12 +1,13 @@ Name: berusky2 Version: 0.10 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv2+ Summary: Sokoban clone Group: Amusements/Games Source: http://www.anakreon.cz/download/%{name}-%{version}.tar.gz Source1: berusky2.appdata.xml Source2: berusky2.png +Patch0: berusky2-anim-crash.patch URL: http://www.anakreon.cz/en/Berusky2.htm Requires: berusky2-data >= 0.9 @@ -28,6 +29,7 @@ which increases throughout the game. %prep %setup -q +%patch0 -p1 -b .anim-crash %build %configure CFLAGS="$RPM_OPT_FLAGS" @@ -82,6 +84,9 @@ fi %{_var}/games/%{name}/* %changelog +* Wed Dec 30 2015 Martin Stransky 0.10-8 +- fixec animation crashes + * Wed Jun 17 2015 Fedora Release Engineering - 0.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild