]> git.pld-linux.org Git - packages/Maelstrom.git/commitdiff
- release 7: added -sdl_rect.patch master auto/th/Maelstrom-3_0_6-7
authorradek <radek@pld-linux.org>
Sun, 12 Jul 2009 20:09:13 +0000 (20:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Maelstrom-sdl_rect.patch -> 1.1
    Maelstrom.spec -> 1.25

Maelstrom-sdl_rect.patch [new file with mode: 0644]
Maelstrom.spec

diff --git a/Maelstrom-sdl_rect.patch b/Maelstrom-sdl_rect.patch
new file mode 100644 (file)
index 0000000..c9f7a20
--- /dev/null
@@ -0,0 +1,13 @@
+--- Maelstrom-3.0.6/screenlib/SDL_FrameBuf.cpp.orig    2009-07-12 22:02:17.000000000 +0200
++++ Maelstrom-3.0.6/screenlib/SDL_FrameBuf.cpp 2009-07-12 22:06:29.334128859 +0200
+@@ -848,8 +848,8 @@
+                       for ( i=0; i<dirtymaplen; ++i ) {
+                               if ( dirtymap[i] != NULL ) {
+                                       dirtymap[i] = (SDL_Rect *)(
+-                                      ((int)dirtymap[i]-(int)updatelist) +
+-                                                              (int)newlist
++                                      ((long)dirtymap[i]-(long)updatelist) +
++                                                              (long)newlist
+                                       );
+                               }
+                       }
index 3224f4ce434acf9d4020c2269be2dfe62fa1d460..146edc2c9f95cc43e84c55da5d2ff89dd0e89fd6 100644 (file)
@@ -22,7 +22,7 @@ Summary(pl.UTF-8):    Gra, w której strzela się do asteroidów
 Summary(pt_BR.UTF-8):  Maelstrom - um jogo tipo Asteroids muito bem-feito
 Name:          Maelstrom
 Version:       3.0.6
-Release:       6
+Release:       7
 License:       GPL for code, artwork and sounds can be redistributed only with Maelstrom
 Group:         X11/Applications/Games
 Source0:       http://www.devolution.com/~slouken/projects/Maelstrom/src/%{name}-%{version}.tar.gz
@@ -32,6 +32,7 @@ Patch0:               %{name}-cheaters.patch
 Patch1:                %{name}-dirs.patch
 Patch2:                %{name}-amfix.patch
 Patch3:                %{name}-sec.patch
+Patch4:                %{name}-sdl_rect.patch
 URL:           http://www.devolution.com/~slouken/projects/Maelstrom/
 BuildRequires: SDL_net-devel
 BuildRequires: autoconf
@@ -71,6 +72,7 @@ Gráficos 3D muito legais e sons, com suporte a temas e jogos via rede.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal}
This page took 0.079248 seconds and 4 git commands to generate.