Update LuaJIT2 to 2.0.3.

This release has the new PS4 port and various important bug fixes
over 2.0.2 -- an update is recommended.

Updated as discussed with maintainer alnsn@netbsd.org
This commit is contained in:
justin 2014-03-12 22:49:14 +00:00
parent dddfabbe65
commit 27ff726047
4 changed files with 10 additions and 24 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2014,v 1.1031 2014/03/12 21:30:43 gdt Exp $
$NetBSD: CHANGES-2014,v 1.1032 2014/03/12 22:49:14 justin Exp $
Changes to the packages collection and infrastructure in 2014:
@ -1562,3 +1562,4 @@ Changes to the packages collection and infrastructure in 2014:
Updated pkgtools/pkgdiff to 1.5 [asau 2014-03-12]
Added security/libglobalplatform version 6.0.0 [gdt 2014-03-12]
Added security/gpshell version 1.4.4 [gdt 2014-03-12]
Updated lang/LuaJIT2 to 2.0.3 [justin 2014-03-12]

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.1.1.1 2013/07/14 21:42:00 alnsn Exp $
# $NetBSD: Makefile,v 1.2 2014/03/12 22:49:14 justin Exp $
#
DISTNAME= LuaJIT-2.0.2
DISTNAME= LuaJIT-2.0.3
PKGNAME= ${DISTNAME:S/LuaJIT/LuaJIT2/}
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/

View file

@ -1,18 +1,18 @@
$NetBSD: patch-Makefile,v 1.1.1.1 2013/07/14 21:42:00 alnsn Exp $
$NetBSD: patch-Makefile,v 1.2 2014/03/12 22:49:14 justin Exp $
Fix installation.
--- Makefile.orig 2013-06-03 19:00:00.000000000 +0000
+++ Makefile
@@ -24,7 +24,6 @@ ABIVER= 5.1
--- Makefile.orig 2014-03-12 22:10:30.000000000 +0000
+++ Makefile 2014-03-12 22:11:12.000000000 +0000
@@ -24,7 +24,6 @@
# Change the installation path as needed. This automatically adjusts
# the paths in src/luaconf.h, too. Note: PREFIX must be an absolute path!
#
-export PREFIX= /usr/local
export MULTILIB= lib
##############################################################################
DPREFIX= $(DESTDIR)$(PREFIX)
@@ -39,7 +38,7 @@ INSTALL_LMODD= $(INSTALL_SHARE)/lua
@@ -40,7 +39,7 @@
INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER)
INSTALL_CMODD= $(INSTALL_LIB)/lua
INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER)

View file

@ -1,15 +0,0 @@
$NetBSD: patch-src_lj__alloc.c,v 1.1.1.1 2013/07/14 21:42:00 alnsn Exp $
Add NetBSD to a list of "naive" platforms.
--- src/lj_alloc.c.orig 2013-06-03 19:00:00.000000000 +0000
+++ src/lj_alloc.c
@@ -188,7 +188,7 @@ static LJ_AINLINE void *CALL_MMAP(size_t
return ptr;
}
-#elif LJ_TARGET_OSX || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__sun__)
+#elif LJ_TARGET_OSX || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__OpenBSD__) || defined(__sun__) || defined(__NetBSD__)
/* OSX and FreeBSD mmap() use a naive first-fit linear search.
** That's perfect for us. Except that -pagezero_size must be set for OSX,