head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.32 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.30 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.28 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.26 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.24 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.22 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.20 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.18 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.16 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.14 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.12 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.10 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.8 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.6 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.4 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.2 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.3.0.8 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.6 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.4 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.2 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.1.0.2 pkgsrc-2004Q1-base:1.1; locks; strict; comment @# @; 1.4 date 2006.08.14.22.31.39; author wiz; state dead; branches; next 1.3; 1.3 date 2005.09.04.04.59.36; author jlam; state Exp; branches; next 1.2; 1.2 date 2004.04.05.02.31.06; author xtraeme; state dead; branches; next 1.1; 1.1 date 2004.01.25.10.48.21; author cube; state Exp; branches; next ; desc @@ 1.4 log @Update to 5.1.1. Almost all dependencies need adaptation -> bump API. Changes: * Changes from version 5.0 to 5.1 ------------------------------- Language: + new module system. + new semantics for control variables of fors. + new semantics for setn/getn. + new syntax/semantics for varargs. + new long strings and comments. + new `mod' operator (`%') + new length operator #t + metatables for all types API: + new functions: lua_createtable, lua_get(set)field, lua_push(to)integer. + user supplies memory allocator (lua_open becomes lua_newstate). + luaopen_* functionst must be called through Lua. Implementation: + new configuration scheme via luaconf.h. + incremental garbage collection. + better handling of end-of-line in the lexer. + fully reentrant parser (new Lua function `load') + better support for 64-bit machines. + native loadlib support for Mac OS X. + standard distribution in only one library (lualib.a merged into lua.a) @ text @$NetBSD: patch-af,v 1.3 2005/09/04 04:59:36 jlam Exp $ --- src/luac/Makefile.orig Tue Oct 21 11:54:08 2003 +++ src/luac/Makefile @@@@ -12,8 +12,8 @@@@ T= $(BIN)/luac all: $T -$T: $(OBJS) $(LIB)/liblua.a $(LIB)/liblualib.a - $(CC) -o $@@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) +$T: $(OBJS) + $(CCLD) -o $@@ $(MYLDFLAGS) $(OBJS) -L$(LIB) -llua -llualib $(EXTRA_LIBS) $(DLLIB) # print.c needs opcode names from lopcodes.c lopcodes.o: ../lopcodes.c ../lopcodes.h @ 1.3 log @Libtoolize lua build. Since the shared library version has changed, bump the PKGREVISION to 4, and set BUILDLINK_RECOMMENDED.lua appropriately in the buildlink3.mk file. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update lua to 5.0.2, from Bruce J.A. Nourish via tech-pkg@@. Lua 5.0.2 is a bugfix release, which contains the following fixes: src/ldo.c Attempt to resume running coroutine crashed Lua src/lgc.c C functions also may have stacks larger than current top Userdata to be collected still counted into new GC threshold src/lgc.h Userdata to be collected still counted into new GC threshold src/lparser.c Syntax `local function' did not increment stack size src/lvm.c `pc' address was invalidated when a coroutine was suspended Count hook might be called without being set src/lib/lbaselib.c Buffer overflow for unusual %p representation Wrong number of returns from chunks loaded from stdin src/lib/liolib.c `file.close()' could not be called without arguments Buffer overflow for unusual %p representation src/luac/luac.c Missing lock/unlock @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.1 2004/01/25 10:48:21 cube Exp $ d3 13 a15 13 --- objdir/bin2c/Makefile.orig 2004-01-25 11:34:55.000000000 +0100 +++ objdir/bin2c/Makefile @@@@ -0,0 +1,10 @@@@ +PROG= bin2c + +SRCS= bin2c +MAN= # empty + +BINDIR= ${PREFIX}/bin + +.PATH: ${.CURDIR}/../../etc + +.include @ 1.1 log @Compile and install etc/bin2c, which is expected by some modules. Fixes PR 24219 by pancake at phreaker dot net. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @