summaryrefslogtreecommitdiff
path: root/games/4stAttack/patches
diff options
context:
space:
mode:
Diffstat (limited to 'games/4stAttack/patches')
-rw-r--r--games/4stAttack/patches/patch-aa17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/4stAttack/patches/patch-aa b/games/4stAttack/patches/patch-aa
new file mode 100644
index 00000000000..530d8be0974
--- /dev/null
+++ b/games/4stAttack/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/11/04 07:10:12 rillig Exp $
+
+--- 4stattack.orig 2002-10-01 16:38:03.000000000 +0200
++++ 4stattack 2003-07-13 15:37:19.000000000 +0200
+@@ -1,9 +1,10 @@
+ #!/bin/sh
+-FAHOME=/usr/share/forcedattack2
++FAHOME=@FAHOME@
++
+ if [ ! -f ~/.4stattackrc ]; then
+ cp $FAHOME/settings.ini ~/.4stattackrc
+ fi
+ if [ -x $FAHOME/4stattack.py ]; then
+- $FAHOME/4stattack.py -ini ~/.4stattackrc
++ ( cd $FAHOME && $FAHOME/4stattack.py -ini ~/.4stattackrc )
+ fi
+