summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authortsutsui <tsutsui>2013-10-19 06:43:43 +0000
committertsutsui <tsutsui>2013-10-19 06:43:43 +0000
commit49d8a5c7de174cf74b9a263348984d6f37bc4758 (patch)
tree87a65ddb6d41a68665bb4967aa49f140e51eca3f /games
parent14cd781bcbdcd35a7e96323faf873004f2cc32b9 (diff)
downloadpkgsrc-49d8a5c7de174cf74b9a263348984d6f37bc4758.tar.gz
Update onscripter to 20130929.
pkgsrc changes: - remove previous patch-LUAHandler.cpp, which has been integrated Upstream Changes (only Japanese log available) 20130929: - apply a patch to fix compile failure with Lua 5.2
Diffstat (limited to 'games')
-rw-r--r--games/onscripter/Makefile4
-rw-r--r--games/onscripter/distinfo9
-rw-r--r--games/onscripter/patches/patch-LUAHandler.cpp21
3 files changed, 6 insertions, 28 deletions
diff --git a/games/onscripter/Makefile b/games/onscripter/Makefile
index 263f9aa4a58..0be5426da82 100644
--- a/games/onscripter/Makefile
+++ b/games/onscripter/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2013/09/15 20:07:07 tsutsui Exp $
+# $NetBSD: Makefile,v 1.29 2013/10/19 06:43:43 tsutsui Exp $
#
-DISTNAME= onscripter-20130812
+DISTNAME= onscripter-20130929
CATEGORIES= games
MASTER_SITES= http://onscripter.sourceforge.jp/
diff --git a/games/onscripter/distinfo b/games/onscripter/distinfo
index e5c27b36a57..dff606da4fa 100644
--- a/games/onscripter/distinfo
+++ b/games/onscripter/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.21 2013/09/15 20:07:07 tsutsui Exp $
+$NetBSD: distinfo,v 1.22 2013/10/19 06:43:43 tsutsui Exp $
-SHA1 (onscripter-20130812.tar.gz) = 09ff1eaf6f2384fc1fb4994356fd75fec0c7813d
-RMD160 (onscripter-20130812.tar.gz) = 2ea32e8bc46f8d3df41228df14099a999017097a
-Size (onscripter-20130812.tar.gz) = 233385 bytes
-SHA1 (patch-LUAHandler.cpp) = ccd9782c93ec2da3839f8632209dae1ea7090c3f
+SHA1 (onscripter-20130929.tar.gz) = 01b3958ae6c716a1f32f3d506061e2f33ffc9a06
+RMD160 (onscripter-20130929.tar.gz) = 2f34ec22f5a6bab088738bf704f1b8d470c32267
+Size (onscripter-20130929.tar.gz) = 233437 bytes
SHA1 (patch-Makefile.Linux) = 6aa721529ed7f733a73fb4f6f7a525160d492909
diff --git a/games/onscripter/patches/patch-LUAHandler.cpp b/games/onscripter/patches/patch-LUAHandler.cpp
deleted file mode 100644
index b7fe14fdf28..00000000000
--- a/games/onscripter/patches/patch-LUAHandler.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-LUAHandler.cpp,v 1.1 2013/09/15 20:07:07 tsutsui Exp $
-
-- Try to adapt to lua 5.2 API changes.
-
---- LUAHandler.cpp.orig 2013-08-12 13:58:38.000000000 +0000
-+++ LUAHandler.cpp
-@@ -559,11 +559,11 @@ void LUAHandler::init(ONScripter *ons, S
- this->ons = ons;
- this->sh = sh;
-
-- state = lua_open();
-+ state = luaL_newstate();
- luaL_openlibs(state);
-
-- lua_pushvalue(state, LUA_GLOBALSINDEX);
-- luaL_register(state, NULL, lua_lut);
-+ lua_pushglobaltable(state);
-+ luaL_setfuncs(state, lua_lut, 0);
-
- lua_pushlightuserdata(state, this);
- lua_setglobal(state, ONS_LUA_HANDLER_PTR);