[39172] trunk/dports/games/atanks

ryandesign at macports.org ryandesign at macports.org
Sun Aug 10 21:58:16 PDT 2008


Revision: 39172
          http://trac.macosforge.org/projects/macports/changeset/39172
Author:   ryandesign at macports.org
Date:     2008-08-10 21:58:16 -0700 (Sun, 10 Aug 2008)
Log Message:
-----------
atanks: update to 3.1; see #16280

Modified Paths:
--------------
    trunk/dports/games/atanks/Portfile

Added Paths:
-----------
    trunk/dports/games/atanks/files/patch-src-files.cc

Modified: trunk/dports/games/atanks/Portfile
===================================================================
--- trunk/dports/games/atanks/Portfile	2008-08-11 01:43:44 UTC (rev 39171)
+++ trunk/dports/games/atanks/Portfile	2008-08-11 04:58:16 UTC (rev 39172)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    atanks
-version                 2.6
+version                 3.1
 categories              games
 platforms               darwin
 maintainers             nomaintainer
@@ -13,15 +13,16 @@
 
 homepage                http://atanks.sourceforge.net/
 master_sites            sourceforge
-checksums               md5     3399323f7e18033a422074508bc4b8f6 \
-                        sha1    939db882b128e33129250f86df3aefb8ce5d1b53 \
-                        rmd160  8aba18312d9f79cf95d9338b68db3498f70a925e
+checksums               md5     16c46685a089e40f1dc69010b4d839a8 \
+                        sha1    3937a1dab9001c60be659bb913d95b9c57817d2c \
+                        rmd160  e51624da4563b9cdc3e77275d6212895cded537f
 worksrcdir              ${name}
 
 depends_lib             port:allegro
 
 patchfiles              patch-Makefile \
-                        patch-src-Makefile
+                        patch-src-Makefile \
+                        patch-src-files.cc
 
 post-patch {
     reinplace s|@PREFIX@|${prefix}|g        ${worksrcpath}/Makefile
@@ -47,4 +48,5 @@
     }
 }
 
+livecheck.version       [strsed ${version} {g/\.//}]
 livecheck.regex         <title>${name} ${name}-(.*) released.*</title>

Added: trunk/dports/games/atanks/files/patch-src-files.cc
===================================================================
--- trunk/dports/games/atanks/files/patch-src-files.cc	                        (rev 0)
+++ trunk/dports/games/atanks/files/patch-src-files.cc	2008-08-11 04:58:16 UTC (rev 39172)
@@ -0,0 +1,19 @@
+--- src/files.cc.orig	2008-07-26 12:05:50.000000000 -0600
++++ src/files.cc	2008-08-10 18:47:46.000000000 -0600
+@@ -2,6 +2,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <dirent.h>
++#include <sys/stat.h>
+ 
+ #include "player.h"
+ #include "files.h"
+@@ -698,7 +699,7 @@
+ /*
+ Filter out files that do not have .sav in the name.
+ */
+-int Filter_File( const struct dirent *my_file )
++int Filter_File( struct dirent *my_file )
+ {
+     if ( strstr(my_file->d_name, ".sav") )
+        return TRUE;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080810/0528b106/attachment.html 


More information about the macports-changes mailing list