Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/games
In directory vz-cvs-3.sog:/tmp/cvs-serv23823/stable/main/finkinfo/games

Added Files:
        maelstrom.info maelstrom.patch 
Log Message:
maelstrom to stable, with fix for obvious-val-fail (bad paths in .deb)


--- NEW FILE: maelstrom.info ---
Package: maelstrom
Version: 3.0.6
Revision: 1007
Depends: sdl-net-shlibs (>= 1.2.7-1), sdl-shlibs (>= 1.2.13-1)
BuildDepends: sdl-net (>= 1.2.7-1), sdl (>= 1.2.13-1), fink (>= 0.24.12)
Source: 
http://archive.ubuntu.com/ubuntu/pool/multiverse/m/%n/%n_1.4.3-L%v.orig.tar.gz
Source-MD5: 67bd9d0f9e3592ea024508a7ef4a92a4
SourceDirectory: %n-1.4.3-L%v
GCC: 4.0
SetCXXFLAGS: -Os
PatchFile: %n.patch
PatchFile-MD5: 3b9d6a8fc9b77147ff8519f404f0c402
PatchScript: <<
        %{default_script}
        echo 'grep -rl /games/Maelstrom * | xargs perl -pi -e 
"s,/games/Maelstrom,/share/games/Maelstrom,g"'
<<
ConfigureParams: --mandir=%p/share/man --disable-dependency-tracking 
--disable-sdltest
CompileScript: <<
        ./configure %c
        grep -rl /games/Maelstrom * | xargs perl -pi -e 
"s,/games/Maelstrom,/share/games/Maelstrom,g"
        grep -rl -- "-g -O2" * | xargs perl -pi -e "s,-g -O2,-Os,g"
        make
<<
InstallScript :make install DESTDIR=%d
<<
DocFiles: COPYING* CREDITS ChangeLog README*
License: GPL
Homepage: http://www.devolution.com/~slouken/Maelstrom
Maintainer: Jack Fink <[email protected]>
Description: Arcade-style game resembling Asteroids


--- NEW FILE: maelstrom.patch ---
diff -Nurd -x'*~' maelstrom-1.4.3-L3.0.6.orig/Makefile.in 
maelstrom-1.4.3-L3.0.6/Makefile.in
--- maelstrom-1.4.3-L3.0.6.orig/Makefile.in     2002-10-20 00:19:42.000000000 
-0400
+++ maelstrom-1.4.3-L3.0.6/Makefile.in  2012-03-17 15:03:42.000000000 -0400
@@ -434,18 +434,18 @@
        make install_gamedata target=@GAME_INSTALLDIR@
 
 install_gamedata:
-       sh mkinstalldirs $(target)/
+       sh mkinstalldirs $(DESTDIR)$(target)/
        cp -rv Images                   \
               Maelstrom_Fonts          \
               Maelstrom_Sounds         \
               Maelstrom_Sprites        \
               Maelstrom-Scores         \
-              icon.bmp icon.xpm        $(target)/
-       chmod 666 $(target)/Maelstrom-Scores
+              icon.bmp icon.xpm        $(DESTDIR)$(target)/
+       chmod 666 $(DESTDIR)$(target)/Maelstrom-Scores
 
 install_gamedocs:
-       sh mkinstalldirs $(target)/
-       cp -rv README* COPYING* Docs*   $(target)/
+       sh mkinstalldirs $(DESTDIR)$(target)/
+       cp -rv README* COPYING* Docs*   $(DESTDIR)$(target)/
 
 # Rule to build tar-gzipped distribution package
 $(PACKAGE)-$(VERSION).tar.gz: dist
diff -Nurd -x'*~' maelstrom-1.4.3-L3.0.6.orig/screenlib/SDL_FrameBuf.cpp 
maelstrom-1.4.3-L3.0.6/screenlib/SDL_FrameBuf.cpp
--- maelstrom-1.4.3-L3.0.6.orig/screenlib/SDL_FrameBuf.cpp      2001-07-22 
17:03:13.000000000 -0400
+++ maelstrom-1.4.3-L3.0.6/screenlib/SDL_FrameBuf.cpp   2012-03-17 
15:04:32.000000000 -0400
@@ -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
+                                       (dirtymap[i]-updatelist) +
+                                                               newlist
                                        );
                                }
                        }


------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to