diff options
author | wiz <wiz> | 2006-08-14 22:37:57 +0000 |
---|---|---|
committer | wiz <wiz> | 2006-08-14 22:37:57 +0000 |
commit | 9060beecd8dd74c20a6821bb66f256591a571831 (patch) | |
tree | 8be989f963ce7e45346e82ed5da1811e1fddfe8b /games | |
parent | d8ce7bc8e42b0d09e9f196268b9667c028cdd622 (diff) | |
download | pkgsrc-9060beecd8dd74c20a6821bb66f256591a571831.tar.gz |
Adapt to lua-5.1.1. Bump PKGREVISION.
Diffstat (limited to 'games')
-rw-r--r-- | games/stratagus/Makefile | 4 | ||||
-rw-r--r-- | games/stratagus/distinfo | 5 | ||||
-rw-r--r-- | games/stratagus/patches/patch-ab | 20 | ||||
-rw-r--r-- | games/stratagus/patches/patch-ac | 13 |
4 files changed, 36 insertions, 6 deletions
diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile index 79f5a4dd7e1..cf3c15abda8 100644 --- a/games/stratagus/Makefile +++ b/games/stratagus/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.12 2006/06/15 13:31:29 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2006/08/14 22:37:57 wiz Exp $ # DISTNAME= stratagus-2.1-src PKGNAME= ${DISTNAME:S/-src//} -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=stratagus/} diff --git a/games/stratagus/distinfo b/games/stratagus/distinfo index e112630804a..0cbbe21d716 100644 --- a/games/stratagus/distinfo +++ b/games/stratagus/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2006/05/15 21:30:00 joerg Exp $ +$NetBSD: distinfo,v 1.4 2006/08/14 22:37:57 wiz Exp $ SHA1 (stratagus-2.1-src.tar.gz) = 33181d57e018825a450f1e8c0ec31b0887cbd39c RMD160 (stratagus-2.1-src.tar.gz) = f5f97854cad9f17104de34613012fd3aa2efbb9b Size (stratagus-2.1-src.tar.gz) = 995686 bytes SHA1 (patch-aa) = 2f1403d58b3a745845c3b3e94abb7cf65b00194d -SHA1 (patch-ab) = 404081c88b943c3edc76e0503c19fdb98a732145 +SHA1 (patch-ab) = cd9235023dcb2bc05828857c8f1d538a0d06eab5 +SHA1 (patch-ac) = 78aca58075dd730a799dc9d0fb79ca4c6c010a34 diff --git a/games/stratagus/patches/patch-ab b/games/stratagus/patches/patch-ab index f0e04328805..696453ccdc7 100644 --- a/games/stratagus/patches/patch-ab +++ b/games/stratagus/patches/patch-ab @@ -1,6 +1,6 @@ -$NetBSD: patch-ab,v 1.1 2006/05/15 21:30:00 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2006/08/14 22:37:57 wiz Exp $ ---- configure.orig 2006-05-15 21:03:08.000000000 +0000 +--- configure.orig 2004-07-02 01:46:35.000000000 +0000 +++ configure @@ -3050,7 +3050,7 @@ if test "`uname -a | grep -is cygwin`" - ARCH=win32 @@ -11,3 +11,19 @@ $NetBSD: patch-ab,v 1.1 2006/05/15 21:30:00 joerg Exp $ ARCH=bsd PLATFORM="-DBSD" elif test "`uname -a | grep -is beos`"; then +@@ -5548,6 +5548,7 @@ fi + + fi + ++if false; then + echo "$as_me:$LINENO: checking for luaopen_base in -llualib" >&5 + echo $ECHO_N "checking for luaopen_base in -llualib... $ECHO_C" >&6 + if test "${ac_cv_lib_lualib_luaopen_base+set}" = set; then +@@ -5759,6 +5760,7 @@ fi + fi + + fi ++fi + + LUA_LIBS="$LUA_LIBS -lm" + diff --git a/games/stratagus/patches/patch-ac b/games/stratagus/patches/patch-ac new file mode 100644 index 00000000000..46086843a49 --- /dev/null +++ b/games/stratagus/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2006/08/14 22:37:57 wiz Exp $ + +--- src/stratagus/script.c.orig 2004-06-26 22:38:18.000000000 +0000 ++++ src/stratagus/script.c +@@ -325,7 +325,7 @@ void CclGarbageCollect(int fast) + DebugPrint("Garbage collect (before): %d/%d\n" _C_ + lua_getgccount(Lua) _C_ lua_getgcthreshold(Lua)); + +- lua_setgcthreshold(Lua, 0); ++ lua_gc(Lua, LUA_GCCOLLECT, 0); + + DebugPrint("Garbage collect (after): %d/%d\n" _C_ + lua_getgccount(Lua) _C_ lua_getgcthreshold(Lua)); |