head	1.15;
access;
symbols
	perseant-exfatfs-base-20261102:1.15
	netbsd-11-1-RELEASE:1.14
	netbsd-10-2-RELEASE:1.11.2.2
	netbsd-9-5-RELEASE:1.8
	netbsd-11-0-RELEASE:1.14
	netbsd-11-0-RC7:1.14
	netbsd-11-0-RC6:1.14
	netbsd-11-0-RC5:1.14
	netbsd-11-0-RC4:1.14
	netbsd-11-0-RC3:1.14
	netbsd-11-0-RC2:1.14
	netbsd-11-0-RC1:1.14
	perseant-exfatfs-base-20250801:1.14
	netbsd-11:1.14.0.2
	netbsd-11-base:1.14
	netbsd-10-1-RELEASE:1.11.2.2
	perseant-exfatfs-base-20240630:1.13
	perseant-exfatfs:1.13.0.2
	perseant-exfatfs-base:1.13
	netbsd-8-3-RELEASE:1.8
	netbsd-9-4-RELEASE:1.8
	netbsd-10-0-RELEASE:1.11.2.2
	netbsd-10-0-RC6:1.11.2.2
	netbsd-10-0-RC5:1.11.2.2
	netbsd-10-0-RC4:1.11.2.1
	netbsd-10-0-RC3:1.11.2.1
	netbsd-10-0-RC2:1.11.2.1
	netbsd-10-0-RC1:1.11.2.1
	netbsd-10:1.11.0.2
	netbsd-10-base:1.11
	netbsd-9-3-RELEASE:1.8
	cjep_sun2x-base1:1.10
	cjep_sun2x:1.10.0.4
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	netbsd-9-2-RELEASE:1.8
	cjep_staticlib_x:1.10.0.2
	cjep_staticlib_x-base:1.10
	netbsd-9-1-RELEASE:1.8
	phil-wifi-20200421:1.9
	phil-wifi-20200411:1.9
	is-mlppp:1.9.0.2
	is-mlppp-base:1.9
	phil-wifi-20200406:1.9
	netbsd-8-2-RELEASE:1.8
	netbsd-9-0-RELEASE:1.8
	netbsd-9-0-RC2:1.8
	netbsd-9-0-RC1:1.8
	phil-wifi-20191119:1.9
	netbsd-9:1.8.0.18
	netbsd-9-base:1.8
	phil-wifi-20190609:1.8
	netbsd-8-1-RELEASE:1.8
	netbsd-8-1-RC1:1.8
	pgoyette-compat-merge-20190127:1.8
	pgoyette-compat-20190127:1.8
	pgoyette-compat-20190118:1.8
	pgoyette-compat-1226:1.8
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.8
	netbsd-7-2-RELEASE:1.6.2.1
	pgoyette-compat-0728:1.8
	netbsd-8-0-RELEASE:1.8
	phil-wifi:1.8.0.16
	phil-wifi-base:1.8
	pgoyette-compat-0625:1.8
	netbsd-8-0-RC2:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	netbsd-8-0-RC1:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	netbsd-7-1-2-RELEASE:1.6.2.1
	pgoyette-compat:1.8.0.14
	pgoyette-compat-base:1.8
	netbsd-7-1-1-RELEASE:1.6.2.1
	matt-nb8-mediatek:1.8.0.12
	matt-nb8-mediatek-base:1.8
	perseant-stdc-iso10646:1.8.0.10
	perseant-stdc-iso10646-base:1.8
	netbsd-8:1.8.0.8
	netbsd-8-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.6
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	netbsd-7-1:1.6.2.1.0.4
	netbsd-7-1-RELEASE:1.6.2.1
	netbsd-7-1-RC2:1.6.2.1
	netbsd-7-nhusb-base-20170116:1.6.2.1
	bouyer-socketcan:1.8.0.4
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	netbsd-7-1-RC1:1.6.2.1
	pgoyette-localcount-20161104:1.8
	netbsd-7-0-2-RELEASE:1.6
	localcount-20160914:1.8
	netbsd-7-nhusb:1.6.2.1.0.2
	netbsd-7-nhusb-base:1.6.2.1
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.2
	pgoyette-localcount-base:1.8
	netbsd-7-0-1-RELEASE:1.6
	netbsd-7-0:1.6.0.4
	netbsd-7-0-RELEASE:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.6.0.2
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.2.6.1
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.5.0.2
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.2
	riastradh-drm2-base:1.4
	netbsd-6-1:1.2.0.14
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.4.0.4
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.3
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.3
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.3
	netbsd-6-0:1.2.0.12
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.3.0.2
	tls-maxphys-base:1.6
	matt-nb6-plus:1.2.0.10
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.2.0.8
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.6
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.4
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.1;
locks; strict;
comment	@# @;


1.15
date	2026.04.18.21.23.44;	author rillig;	state Exp;
branches;
next	1.14;
commitid	KyDjjV8sGIHfcuCG;

1.14
date	2025.07.28.03.01.48;	author roy;	state Exp;
branches;
next	1.13;
commitid	BO8oq5J78MEtzs4G;

1.13
date	2023.06.03.09.09.07;	author lukem;	state Exp;
branches
	1.13.2.1;
next	1.12;
commitid	aBaIRnuykonRStrE;

1.12
date	2023.04.16.20.46.17;	author nikita;	state Exp;
branches;
next	1.11;
commitid	WsTfyuk7gWCdhnlE;

1.11
date	2022.04.19.22.00.53;	author rillig;	state Exp;
branches
	1.11.2.1;
next	1.10;
commitid	GqotlVE8GdjIkRAD;

1.10
date	2021.04.12.02.54.08;	author mrg;	state Exp;
branches;
next	1.9;
commitid	BwuEQxep98zmWWOC;

1.9
date	2019.11.11.22.45.26;	author joerg;	state Exp;
branches;
next	1.8;
commitid	IMynySmLyNzibuKB;

1.8
date	2015.02.09.20.41.01;	author christos;	state Exp;
branches
	1.8.16.1;
next	1.7;
commitid	vR4uGJc2Gz3Hin9y;

1.7
date	2015.02.09.16.47.17;	author christos;	state Exp;
branches;
next	1.6;
commitid	5utFyYXzfika0m9y;

1.6
date	2014.07.19.18.38.34;	author lneto;	state Exp;
branches
	1.6.2.1;
next	1.5;
commitid	ANelHmZgJutVc1Jx;

1.5
date	2013.09.11.09.59.52;	author joerg;	state Exp;
branches
	1.5.2.1;
next	1.4;
commitid	RBqdbym7Wl95l05x;

1.4
date	2013.02.15.20.07.06;	author jmmv;	state Exp;
branches;
next	1.3;

1.3
date	2012.02.28.22.07.16;	author joerg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2011.01.19.10.14.49;	author plunky;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	2010.10.31.11.26.01;	author mbalmer;	state Exp;
branches;
next	;

1.13.2.1
date	2025.08.02.05.50.37;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.11.2.1
date	2023.08.11.16.22.07;	author martin;	state Exp;
branches;
next	1.11.2.2;
commitid	mhf8SeZPt8fV3oAE;

1.11.2.2
date	2024.02.26.10.31.27;	author martin;	state Exp;
branches;
next	;
commitid	cYJS9moLjAruIVZE;

1.8.16.1
date	2020.04.13.08.02.29;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.6.2.1
date	2016.07.01.06.35.03;	author snj;	state Exp;
branches;
next	;
commitid	Y0KqLXAybsfXhAcz;

1.5.2.1
date	2014.08.10.06.50.54;	author tls;	state Exp;
branches;
next	;
commitid	DgL6ai6yRo4DAMLx;

1.3.2.1
date	2013.02.25.00.27.40;	author tls;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2014.08.20.00.00.08;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.2.6.1
date	2012.04.17.00.04.47;	author yamt;	state Exp;
branches;
next	1.2.6.2;

1.2.6.2
date	2014.05.22.14.09.34;	author yamt;	state Exp;
branches;
next	;
commitid	FFQX08bYGKywAxBx;


desc
@@


1.15
log
@liblua: sync description of lint messages with reality
@
text
@# $NetBSD: Makefile,v 1.14 2025/07/28 03:01:48 roy Exp $

LIB=		lua
LUA_CORE=	lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c
LUA_LIB=	lauxlib.c lbaselib.c lcorolib.c ldblib.c liolib.c \
		lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c \
		linit.c
SRCS=		${LUA_CORE} ${LUA_LIB}

.include <bsd.own.mk>

INCS=		lauxlib.h lua.h lua.hpp luaconf.h lualib.h
INCSDIR=	/usr/include

CPPFLAGS+=	-DLUA_USE_POSIX -DLUA_USE_DLOPEN
CWARNFLAGS.clang+=	-Wno-empty-body -Wno-error=string-plus-int
COPTS.lstring.c+=	${CC_WNO_STRINGOP_OVERFLOW}
LINTFLAGS+=	-X 141		# '4294967295 << 8' overflows 'unsigned int'
LINTFLAGS+=	-X 247		# pointer cast between unrelated types

LIBDPLIBS+=	m		${NETBSDSRCDIR}/lib/libm

FILES+=			lua.pc
FILESOWN_lua.pc=	${BINOWN}
FILESGRP_lua.pc=	${BINGRP}
FILESMODE_lua.pc=	${NONBINMODE}
FILESDIR_lua.pc=	/usr/lib/pkgconfig

.PATH:		${NETBSDSRCDIR}/external/mit/lua/dist/src

.include <bsd.lib.mk>
@


1.14
log
@Add lua.pc so pkg-config can pick it up.

I considered using lua-5.4 as most distros seem to install their .pc file
as that, but equally there is some support for just lua which seems to
reflect the system provided library which is what NetBSD ships.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/06/03 09:09:07 lukem Exp $
d20 2
a21 4
LINTFLAGS+=	-X 141		# integer overflow detected, op '<<'
LINTFLAGS+=	-X 247		# pointer cast from 'pointer to struct
				# GCObject' to 'pointer to union GCUnion' may
				# be troublesome
@


1.13
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/04/16 20:46:17 nikita Exp $
d27 6
@


1.13.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2025/07/28 03:01:48 roy Exp $
a26 6
FILES+=			lua.pc
FILESOWN_lua.pc=	${BINOWN}
FILESGRP_lua.pc=	${BINGRP}
FILESMODE_lua.pc=	${NONBINMODE}
FILESDIR_lua.pc=	/usr/lib/pkgconfig

@


1.12
log
@Resolve conflicts for lua 5.4.4 import.
Adjust various files for lua 5.4.4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2022/04/19 22:00:53 rillig Exp $
d19 1
a19 1
COPTS.lstring.c+=	${GCC_NO_STRINGOP_OVERFLOW}
@


1.11
log
@liblua: ignore a few lint warnings
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2021/04/12 02:54:08 mrg Exp $
d7 1
a7 1
LUA_LIB=	lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
d17 1
a17 1
CPPFLAGS+=	-DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS
@


1.11.2.1
log
@Pull up following revision(s) (requested by nikita in ticket #313):

	external/mit/lua/dist/src/ljumptab.h            up to 1.2
	external/mit/lua/dist/src/lopnames.h            up to 1.1.1.1
	external/mit/lua/dist/src/lbitlib.c             delete
	external/mit/lua/dist/Makefile                  up to 1.9
	external/mit/lua/dist/README                    up to 1.10
	external/mit/lua/dist/README.import             up to 1.5
	external/mit/lua/dist/doc/contents.html         up to 1.9
	external/mit/lua/dist/doc/lua.1                 up to 1.9
	external/mit/lua/dist/doc/manual.html           up to 1.10
	external/mit/lua/dist/doc/readme.html           up to 1.9
	external/mit/lua/dist/src/Makefile              up to 1.7
	external/mit/lua/dist/src/lapi.c                up to 1.15
	external/mit/lua/dist/src/lapi.h                up to 1.11
	external/mit/lua/dist/src/lauxlib.c             up to 1.13
	external/mit/lua/dist/src/lauxlib.h             up to 1.9
	external/mit/lua/dist/src/lbaselib.c            up to 1.11
	external/mit/lua/dist/src/lcode.c               up to 1.14
	external/mit/lua/dist/src/lcode.h               up to 1.9
	external/mit/lua/dist/src/lcorolib.c            up to 1.10
	external/mit/lua/dist/src/lctype.c              up to 1.8
	external/mit/lua/dist/src/lctype.h              up to 1.8
	external/mit/lua/dist/src/ldblib.c              up to 1.12
	external/mit/lua/dist/src/ldebug.c              up to 1.14
	external/mit/lua/dist/src/ldebug.h              up to 1.11
	external/mit/lua/dist/src/ldo.c                 up to 1.12
	external/mit/lua/dist/src/ldo.h                 up to 1.12
	external/mit/lua/dist/src/ldump.c               up to 1.12
	external/mit/lua/dist/src/lfunc.c               up to 1.11
	external/mit/lua/dist/src/lfunc.h               up to 1.11
	external/mit/lua/dist/src/lgc.c                 up to 1.13
	external/mit/lua/dist/src/lgc.h                 up to 1.10
	external/mit/lua/dist/src/linit.c               up to 1.10
	external/mit/lua/dist/src/liolib.c              up to 1.10
	external/mit/lua/dist/src/llex.c                up to 1.14
	external/mit/lua/dist/src/llex.h                up to 1.9
	external/mit/lua/dist/src/llimits.h             up to 1.12
	external/mit/lua/dist/src/lmathlib.c            up to 1.11
	external/mit/lua/dist/src/lmem.c                up to 1.11
	external/mit/lua/dist/src/lmem.h                up to 1.9
	external/mit/lua/dist/src/loadlib.c             up to 1.11
	external/mit/lua/dist/src/lobject.c             up to 1.14
	external/mit/lua/dist/src/lobject.h             up to 1.12
	external/mit/lua/dist/src/lopcodes.c            up to 1.9
	external/mit/lua/dist/src/lopcodes.h            up to 1.10
	external/mit/lua/dist/src/loslib.c              up to 1.13
	external/mit/lua/dist/src/lparser.c             up to 1.15
	external/mit/lua/dist/src/lparser.h             up to 1.9
	external/mit/lua/dist/src/lprefix.h             up to 1.8
	external/mit/lua/dist/src/lstate.c              up to 1.12
	external/mit/lua/dist/src/lstate.h              up to 1.11
	external/mit/lua/dist/src/lstring.c             up to 1.10
	external/mit/lua/dist/src/lstring.h             up to 1.10
	external/mit/lua/dist/src/lstrlib.c             up to 1.21
	external/mit/lua/dist/src/ltable.c              up to 1.13
	external/mit/lua/dist/src/ltable.h              up to 1.10
	external/mit/lua/dist/src/ltablib.c             up to 1.11
	external/mit/lua/dist/src/ltm.c                 up to 1.11
	external/mit/lua/dist/src/ltm.h                 up to 1.10
	external/mit/lua/dist/src/lua.c                 up to 1.12
	external/mit/lua/dist/src/lua.h                 up to 1.14
	external/mit/lua/dist/src/luac.c                up to 1.12
	external/mit/lua/dist/src/luaconf.h             up to 1.25
	external/mit/lua/dist/src/lualib.h              up to 1.8
	external/mit/lua/dist/src/lundump.c             up to 1.11
	external/mit/lua/dist/src/lundump.h             up to 1.8
	external/mit/lua/dist/src/lutf8lib.c            up to 1.11
	external/mit/lua/dist/src/lvm.c                 up to 1.20
	external/mit/lua/dist/src/lvm.h                 up to 1.12
	external/mit/lua/dist/src/lzio.c                up to 1.9
	external/mit/lua/dist/src/lzio.h                up to 1.9
	external/mit/lua/lib/liblua/Makefile            up to 1.13
	external/mit/lua/lib/liblua/shlib_version       up to 1.4
	distrib/sets/lists/base/ad.aarch64		1.37
	distrib/sets/lists/base/mi			1.1315
	distrib/sets/lists/base/shl.mi			1.947,1.949
	distrib/sets/lists/debug/shl.mi			1.304,1.312
	etc/mtree/NetBSD.dist.base			1.247
	etc/mtree/NetBSD.dist.compat.in			1.2
	share/mk/bsd.lua.mk				1.9
	sys/modules/examples/luahello/luahello.lua	1.3
	sys/modules/lua/Makefile			1.13
	doc/CHANGES					(manually edited)
	doc/3RDPARTY					(manually edited)

Import lua 5.4.6
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/06/03 09:09:07 lukem Exp $
d7 1
a7 1
LUA_LIB=	lauxlib.c lbaselib.c lcorolib.c ldblib.c liolib.c \
d17 1
a17 1
CPPFLAGS+=	-DLUA_USE_POSIX -DLUA_USE_DLOPEN
d19 1
a19 1
COPTS.lstring.c+=	${CC_WNO_STRINGOP_OVERFLOW}
@


1.11.2.2
log
@Apply a patch from mrg to fix build fallout from ticket #610:

	external/bsd/wpa/bin/hostapd/Makefile			(apply patch)
	external/mit/lua/lib/liblua/Makefile			(apply patch)
	external/mpl/bind/bin/dnssec/dnssec-verify/Makefile	(apply patch)
	external/mpl/dhcp/bin/relay/Makefile			(apply patch)
	external/mpl/dhcp/bin/server/Makefile			(apply patch)
	external/mpl/dhcp/lib/common/Makefile			(apply patch)

Adapt compiler warning flags to the variable names used on this branch
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11.2.1 2023/08/11 16:22:07 martin Exp $
d19 1
a19 1
COPTS.lstring.c+=	${GCC_NO_STRINGOP_OVERFLOW}
@


1.10
log
@add some new uses of existing GCC_NO_* variables for warning issues.
remove an no longer relevant for gcc7 workaround (works fine in both
gcc9 and gcc 10.)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2019/11/11 22:45:26 joerg Exp $
d20 4
@


1.9
log
@Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/02/09 20:41:01 christos Exp $
d19 1
@


1.8
log
@remove LINTFLAGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2015/02/09 16:47:17 christos Exp $
d18 1
a18 1
CWARNFLAGS.clang+=	-Wno-empty-body
@


1.8.16.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
# $NetBSD$
d18 1
a18 1
CWARNFLAGS.clang+=	-Wno-empty-body -Wno-error=string-plus-int
@


1.7
log
@- use CPPFLAGS instead of CFLAGS for things that the c-preprocessor handle.
- add LUA_C89_NUMBERS for "long long" and don't depend on _NETBSD_SOURCE
  for defining this.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2014/07/19 18:38:34 lneto Exp $
a20 1
LINTFLAGS+=-V
@


1.6
log
@lua: updated from 5.1 to 5.3 work3

* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2013/09/11 09:59:52 joerg Exp $
d17 1
a17 1
CFLAGS+=	-DLUA_USE_POSIX -DLUA_USE_DLOPEN
d21 1
@


1.6.2.1
log
@Pull up following revision(s) (requested by salazar in ticket #1173):
	doc/3RDPARTY: 1.1277, 1.331 via patch
	external/mit/lua/Makefile: up to 1.4
	external/mit/lua/dist/Makefile: up to 1.5
	external/mit/lua/dist/README: up to 1.5
	external/mit/lua/dist/doc/index.css: up to 1.1.1.1
	external/mit/lua/dist/doc/lua.css: up to 1.5
	external/mit/lua/dist/doc/luac.1: up to 1.3
	external/mit/lua/dist/doc/manual.html: up to 1.5
	external/mit/lua/dist/src/lapi.c: up to 1.6
	external/mit/lua/dist/src/lauxlib.c: up to 1.6
	external/mit/lua/dist/src/lauxlib.h: up to 1.4
	external/mit/lua/dist/src/lbaselib.c: up to 1.6
	external/mit/lua/dist/src/lbitlib.c: up to 1.3
	external/mit/lua/dist/src/lcode.c: up to 1.5
	external/mit/lua/dist/src/lcode.h: up to 1.4
	external/mit/lua/dist/src/lcorolib.c: up to 1.3
	external/mit/lua/dist/src/lctype.c: up to 1.3
	external/mit/lua/dist/src/lctype.h: up to 1.3
	external/mit/lua/dist/src/ldblib.c: up to 1.7
	external/mit/lua/dist/src/ldebug.c: up to 1.6
	external/mit/lua/dist/src/ldo.c: up to 1.5
	external/mit/lua/dist/src/ldo.h: up to 1.5
	external/mit/lua/dist/src/ldump.c: up to 1.5
	external/mit/lua/dist/src/lfunc.c: up to 1.4
	external/mit/lua/dist/src/lgc.c: up to 1.5
	external/mit/lua/dist/src/lgc.h: up to 1.4
	external/mit/lua/dist/src/linit.c: up to 1.5
	external/mit/lua/dist/src/liolib.c: up to 1.5
	external/mit/lua/dist/src/llex.c: up to 1.7
	external/mit/lua/dist/src/llex.h: up to 1.4
	external/mit/lua/dist/src/llimits.h: up to 1.6
	external/mit/lua/dist/src/lmathlib.c: up to 1.5
	external/mit/lua/dist/src/lmem.c: up to 1.5
	external/mit/lua/dist/src/lmem.h: up to 1.4
	external/mit/lua/dist/src/loadlib.c: up to 1.5
	external/mit/lua/dist/src/lobject.c: up to 1.8
	external/mit/lua/dist/src/lobject.h: up to 1.6
	external/mit/lua/dist/src/lopcodes.c: up to 1.4
	external/mit/lua/dist/src/lopcodes.h: up to 1.4
	external/mit/lua/dist/src/loslib.c: up to 1.5
	external/mit/lua/dist/src/lparser.c: up to 1.5
	external/mit/lua/dist/src/lparser.h: up to 1.4
	external/mit/lua/dist/src/lprefix.h: up to 1.3
	external/mit/lua/dist/src/lstate.c: up to 1.5
	external/mit/lua/dist/src/lstate.h: up to 1.5
	external/mit/lua/dist/src/lstring.c: up to 1.5
	external/mit/lua/dist/src/lstring.h: up to 1.5
	external/mit/lua/dist/src/lstrlib.c: up to 1.12
	external/mit/lua/dist/src/ltable.c: up to 1.6
	external/mit/lua/dist/src/ltable.h: up to 1.4
	external/mit/lua/dist/src/ltablib.c: up to 1.5
	external/mit/lua/dist/src/ltm.c: up to 1.5
	external/mit/lua/dist/src/ltm.h: up to 1.4
	external/mit/lua/dist/src/lua.c: up to 1.5
	external/mit/lua/dist/src/lua.h: up to 1.6
	external/mit/lua/dist/src/luac.c: up to 1.6
	external/mit/lua/dist/src/luaconf.h: up to 1.16
	external/mit/lua/dist/src/lualib.h: up to 1.3
	external/mit/lua/dist/src/lundump.c: up to 1.4
	external/mit/lua/dist/src/lundump.h: up to 1.3
	external/mit/lua/dist/src/lutf8lib.c: up to 1.4
	external/mit/lua/dist/src/lvm.c: up to 1.10
	external/mit/lua/dist/src/lvm.h: up to 1.6
	external/mit/lua/dist/src/lzio.c: up to 1.4
	external/mit/lua/dist/src/lzio.h: up to 1.4
	external/mit/lua/lib/liblua/Makefile: up to 1.8
Update Lua to 5.3.2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/02/09 20:41:01 christos Exp $
d17 1
a17 1
CPPFLAGS+=	-DLUA_USE_POSIX -DLUA_USE_DLOPEN -DLUA_C89_NUMBERS
@


1.5
log
@Needs libm.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2013/02/15 20:07:06 jmmv Exp $
d4 7
a10 5
SRCS=		lapi.c lauxlib.c lbaselib.c lcode.c ldblib.c ldebug.c ldo.c \
		ldump.c lfunc.c lgc.c linit.c liolib.c llex.c lmathlib.c \
		lmem.c loadlib.c lobject.c lopcodes.c loslib.c lparser.c \
		lstate.c lstring.c lstrlib.c ltable.c ltablib.c ltm.c \
		lundump.c lvm.c lzio.c
a21 1
.PATH:		${NETBSDSRCDIR}/external/mit/lua/dist/etc
@


1.5.2.1
log
@Rebase.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2014/07/19 18:38:34 lneto Exp $
d4 5
a8 7
LUA_CORE=	lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c
LUA_LIB=	lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
		lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c \
		linit.c
SRCS=		${LUA_CORE} ${LUA_LIB}
d20 1
@


1.4
log
@Install lua.hpp.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2012/02/28 22:07:16 joerg Exp $
d18 2
@


1.3
log
@Disable -Wempty-body here.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/01/19 10:14:49 plunky Exp $
d12 1
a12 1
INCS=		lauxlib.h lua.h luaconf.h lualib.h
d18 1
@


1.3.2.1
log
@resync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2012/02/28 22:07:16 joerg Exp $
d12 1
a12 1
INCS=		lauxlib.h lua.h lua.hpp luaconf.h lualib.h
a17 1
.PATH:		${NETBSDSRCDIR}/external/mit/lua/dist/etc
@


1.3.2.2
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
# $NetBSD$
d4 5
a8 7
LUA_CORE=	lapi.c lcode.c lctype.c ldebug.c ldo.c ldump.c lfunc.c lgc.c \
		llex.c lmem.c lobject.c lopcodes.c lparser.c lstate.c \
		lstring.c ltable.c ltm.c lundump.c lvm.c lzio.c
LUA_LIB=	lauxlib.c lbaselib.c lbitlib.c lcorolib.c ldblib.c liolib.c \
		lmathlib.c loslib.c lstrlib.c ltablib.c lutf8lib.c loadlib.c \
		linit.c
SRCS=		${LUA_CORE} ${LUA_LIB}
d18 1
a18 2
LIBDPLIBS+=	m		${NETBSDSRCDIR}/lib/libm

@


1.2
log
@add to (rather than replace) CFLAGS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2010/10/31 11:26:01 mbalmer Exp $
d16 1
@


1.2.6.1
log
@sync with head
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2011/01/19 10:14:49 plunky Exp $
a15 1
CWARNFLAGS.clang+=	-Wno-empty-body
@


1.2.6.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2.6.1 2012/04/17 00:04:47 yamt Exp $
d12 1
a12 1
INCS=		lauxlib.h lua.h lua.hpp luaconf.h lualib.h
a17 3
LIBDPLIBS+=	m		${NETBSDSRCDIR}/lib/libm

.PATH:		${NETBSDSRCDIR}/external/mit/lua/dist/etc
@


1.1
log
@Lua build infrastructure
@
text
@d1 1
a1 1
# $NetBSD$
d15 1
a15 1
CFLAGS=		-DLUA_USE_POSIX -DLUA_USE_DLOPEN
@

