summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>2011-08-29 08:24:30 +0000
committerchristos <christos@pkgsrc.org>2011-08-29 08:24:30 +0000
commit273a3cc37ac2a21c663bd1cf67fef1b72c0da516 (patch)
tree0fe21c53103947c666c63d2f0bc1b2551b5cfb43 /games
parentb630b74c4dbb670b8d96b574e6b2ff4a457631f3 (diff)
downloadpkgsrc-273a3cc37ac2a21c663bd1cf67fef1b72c0da516.tar.gz
fixes for lua 5.1 which requires pairs().
Diffstat (limited to 'games')
-rw-r--r--games/fillets-ng-data/Makefile3
-rw-r--r--games/fillets-ng-data/distinfo5
-rw-r--r--games/fillets-ng-data/patches/patch-aa22
-rw-r--r--games/fillets-ng-data/patches/patch-ab13
-rw-r--r--games/fillets-ng-data/patches/patch-ac13
5 files changed, 54 insertions, 2 deletions
diff --git a/games/fillets-ng-data/Makefile b/games/fillets-ng-data/Makefile
index 2d73c887929..d86eb884429 100644
--- a/games/fillets-ng-data/Makefile
+++ b/games/fillets-ng-data/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2008/05/26 02:13:19 joerg Exp $
+# $NetBSD: Makefile,v 1.7 2011/08/29 08:24:30 christos Exp $
#
DISTNAME= fillets-ng-data-0.7.1
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=fillets/}
diff --git a/games/fillets-ng-data/distinfo b/games/fillets-ng-data/distinfo
index cb7156a4ead..7812a2200ac 100644
--- a/games/fillets-ng-data/distinfo
+++ b/games/fillets-ng-data/distinfo
@@ -1,5 +1,8 @@
-$NetBSD: distinfo,v 1.4 2006/08/14 22:33:59 wiz Exp $
+$NetBSD: distinfo,v 1.5 2011/08/29 08:24:30 christos Exp $
SHA1 (fillets-ng-data-0.7.1.tar.gz) = 37731b58877565165a258ff0df48243f29001d50
RMD160 (fillets-ng-data-0.7.1.tar.gz) = bee5a815bbcb439bb3bf1fdcf925fb3db304a566
Size (fillets-ng-data-0.7.1.tar.gz) = 95672064 bytes
+SHA1 (patch-aa) = 6524ed574038a57296ff3f86489f7d54bbd5e449
+SHA1 (patch-ab) = 85f8da0cb2e17acc6b96d4c944ed700b0513c949
+SHA1 (patch-ac) = 0afd27cf38be236ecb48ad2ffa97d774c8ac9170
diff --git a/games/fillets-ng-data/patches/patch-aa b/games/fillets-ng-data/patches/patch-aa
new file mode 100644
index 00000000000..8e12b2bbe57
--- /dev/null
+++ b/games/fillets-ng-data/patches/patch-aa
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2011/08/29 08:24:31 christos Exp $
+
+--- script/columns/code.lua.orig 2004-07-04 18:03:14.000000000 +0300
++++ script/columns/code.lua 2011-08-29 10:40:40.000000000 +0300
+@@ -203,7 +203,7 @@
+ rada1beg.faze = 0
+ end,
+ }
+- for index, advice in advices1 do
++ for index, advice in pairs(advices1) do
+ advice:updateAnim()
+ end
+ end
+@@ -312,7 +312,7 @@
+ rada2beg.faze = 0
+ end,
+ }
+- for index, advice in advices2 do
++ for index, advice in pairs(advices2) do
+ advice:updateAnim()
+ end
+ end
diff --git a/games/fillets-ng-data/patches/patch-ab b/games/fillets-ng-data/patches/patch-ab
new file mode 100644
index 00000000000..028f26a1877
--- /dev/null
+++ b/games/fillets-ng-data/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2011/08/29 08:24:31 christos Exp $
+
+--- script/gems/code.lua.orig 2004-08-18 17:50:46.000000000 +0300
++++ script/gems/code.lua 2011-08-29 10:41:37.000000000 +0300
+@@ -85,7 +85,7 @@
+ end
+
+ return function()
+- for key, gem in gems do
++ for key, gem in pairs(gems) do
+ gem.glob = gem.glob + 1
+ if isIn(gem.glob, {1, 2, 3}) then
+ gem.afaze = gem.afaze + 1
diff --git a/games/fillets-ng-data/patches/patch-ac b/games/fillets-ng-data/patches/patch-ac
new file mode 100644
index 00000000000..becfaef6d01
--- /dev/null
+++ b/games/fillets-ng-data/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2011/08/29 08:24:31 christos Exp $
+
+--- script/share/Pickle.lua.orig 2004-06-26 03:22:12.000000000 +0300
++++ script/share/Pickle.lua 2011-08-29 10:42:22.000000000 +0300
+@@ -78,7 +78,7 @@
+ end
+ for tnum = 1, table.getn(tables) do
+ local t = tables[tnum]
+- local tcopy = {}; for i, v in t do tcopy[i] = v end
++ local tcopy = {}; for i, v in pairs(t) do tcopy[i] = v end
+ for i, v in pairs(tcopy) do
+ local ni, nv
+ if type(i) == "table" then ni = tables[i[1]] else ni = i end