summaryrefslogtreecommitdiff
path: root/atanks
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2008-08-16 21:03:05 +1000
committerDanny Rawlins <romster@shortcircuit.net.au>2008-08-16 21:03:05 +1000
commit6a7333b9e4f72850abd874ef6af852fec0fd12b5 (patch)
tree7ee206707a3fe2243d6d19027a470dd8f3df73f5 /atanks
parentd4691fba2d7b64fa5e87bccf99ccd47485701139 (diff)
downloadcontrib-6a7333b9e4f72850abd874ef6af852fec0fd12b5.tar.gz
contrib-6a7333b9e4f72850abd874ef6af852fec0fd12b5.tar.xz
atanks: 3.0 -> 3.1
Diffstat (limited to 'atanks')
-rw-r--r--atanks/.md5sum6
-rw-r--r--atanks/Pkgfile14
-rw-r--r--atanks/atanks-3.1-install.patch (renamed from atanks/atanks-3.0-install.patch)10
-rw-r--r--atanks/atanks-3.1-version-fix.patch (renamed from atanks/atanks-3.0-version-fix.patch)6
4 files changed, 18 insertions, 18 deletions
diff --git a/atanks/.md5sum b/atanks/.md5sum
index fd1545442..fafba39dd 100644
--- a/atanks/.md5sum
+++ b/atanks/.md5sum
@@ -1,3 +1,3 @@
-88254f1c7efdcdb467d71e0589adaa75 atanks-3.0-install.patch
-2aedfb58060d8958e1459cce9687acdd atanks-3.0-version-fix.patch
-515ddfd70fb005d56aa0b509c4812ab8 atanks-3.0.tar.gz
+8bc373f835bc325e86b978d635d5adc9 atanks-3.1-install.patch
+3c3b3d1db196f0423c3530b07be2be8a atanks-3.1-version-fix.patch
+16c46685a089e40f1dc69010b4d839a8 atanks-3.1.tar.gz
diff --git a/atanks/Pkgfile b/atanks/Pkgfile
index 4e861e805..0de9982c4 100644
--- a/atanks/Pkgfile
+++ b/atanks/Pkgfile
@@ -5,16 +5,16 @@
# Depends on: allegro
name=atanks
-version=3.0
+version=3.1
release=1
-source=(http://dl.sourceforge.net/sourceforge/atanks/atanks-$version.tar.gz
- atanks-$version-install.patch
- atanks-$version-version-fix.patch)
+source=(http://dl.sourceforge.net/sourceforge/$name/$name-$version.tar.gz
+ $name-3.1-install.patch
+ $name-3.1-version-fix.patch)
build() {
- cd atanks
- patch -p 1 -i $SRC/atanks-$version-install.patch
- patch -p 1 -i $SRC/atanks-$version-version-fix.patch
+ cd $name
+ patch -p 1 -i $SRC/$name-3.1-install.patch
+ patch -p 1 -i $SRC/$name-3.1-version-fix.patch
make
make DESTDIR=$PKG install
}
diff --git a/atanks/atanks-3.0-install.patch b/atanks/atanks-3.1-install.patch
index 7c66546ff..ac10d079a 100644
--- a/atanks/atanks-3.0-install.patch
+++ b/atanks/atanks-3.1-install.patch
@@ -1,6 +1,6 @@
diff -pruN atanks.orig/Makefile atanks/Makefile
---- atanks.orig/Makefile 2008-06-01 03:37:44.758709593 +1000
-+++ atanks/Makefile 2008-06-01 04:43:35.237710360 +1000
+--- atanks.orig/Makefile 2008-08-16 20:47:21.349143726 +1000
++++ atanks/Makefile 2008-08-16 20:52:17.435142915 +1000
@@ -1,17 +1,19 @@
VERSION=2.8
export VERSION
@@ -27,8 +27,8 @@ diff -pruN atanks.orig/Makefile atanks/Makefile
rm -f atanks
$(MAKE) -C src clean
diff -pruN atanks.orig/src/Makefile atanks/src/Makefile
---- atanks.orig/src/Makefile 2008-06-01 03:37:44.780707681 +1000
-+++ atanks/src/Makefile 2008-06-01 03:45:44.758709878 +1000
+--- atanks.orig/src/Makefile 2008-08-16 20:47:21.346144525 +1000
++++ atanks/src/Makefile 2008-08-16 20:53:10.845145926 +1000
@@ -4,7 +4,7 @@ MODULES = \
globaldata.o environment.o player.o virtobj.o floattext.o teleport.o physobj.o decor.o explosion.o missile.o beam.o tank.o atanks.o fade.o perlin.o sky.o button.o files.o team.o satellite.o
@@ -41,7 +41,7 @@ diff -pruN atanks.orig/src/Makefile atanks/src/Makefile
@@ -12,7 +12,6 @@ LFLAGS +=
LDFLAGS = `allegro-config --libs`
- CFLAGS += -Wall -Iinclude # -fprofile-arcs -ftest-coverage
+ CFLAGS += -Wall -Wno-write-strings -Iinclude # -fprofile-arcs -ftest-coverage
-CFLAGS += -g # debug vs optimize flags
SRCS = $(MODULES:.o=.cc)
diff --git a/atanks/atanks-3.0-version-fix.patch b/atanks/atanks-3.1-version-fix.patch
index 113cc7a67..407b783c5 100644
--- a/atanks/atanks-3.0-version-fix.patch
+++ b/atanks/atanks-3.1-version-fix.patch
@@ -1,9 +1,9 @@
diff -pruN atanks.orig/Makefile atanks/Makefile
---- atanks.orig/Makefile 2008-06-01 03:37:44.758709593 +1000
-+++ atanks/Makefile 2008-06-01 04:48:47.041706580 +1000
+--- atanks.orig/Makefile 2008-08-16 20:47:21.349143726 +1000
++++ atanks/Makefile 2008-08-16 20:57:49.480142909 +1000
@@ -1,4 +1,4 @@
-VERSION=2.8
-+VERSION=3.0
++VERSION=3.1
export VERSION
FILENAME=atanks-${VERSION}
INSTALL=/usr/bin/install -c

Generated by cgit