aboutsummaryrefslogtreecommitdiffstats
path: root/lang/luajit
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2014-08-16 23:08:10 +0800
committerosa <osa@FreeBSD.org>2014-08-16 23:08:10 +0800
commit11419e157c95a7728a2c7af570d596e31f203576 (patch)
treea781e2bbc8df6f7f3d811f83286b8f39a9b47533 /lang/luajit
parenta4d7375f46c3929bee52e36b6d669e6703e358f5 (diff)
downloadfreebsd-ports-gnome-11419e157c95a7728a2c7af570d596e31f203576.tar.gz
freebsd-ports-gnome-11419e157c95a7728a2c7af570d596e31f203576.tar.zst
freebsd-ports-gnome-11419e157c95a7728a2c7af570d596e31f203576.zip
Update from 2.0.2 to 2.0.3.
<ChangeLog> Add PS4 port. Add support for multilib distro builds. Fix OSX build. Fix MinGW build. Fix Xbox 360 build. Improve ULOAD forwarding for open upvalues. Fix GC steps threshold handling when called by JIT-compiled code. Fix argument checks for math.deg() and math.rad(). Fix jit.flush(func|true). Respect jit.off(func) when returning to a function, too. Fix compilation of string.byte(s, nil, n). Fix line number for relocated bytecode after closure fixup. Fix frame traversal for backtraces. Fix ABC elimination. Fix handling of redundant PHIs. Fix snapshot restore for exit to function header. Fix type punning alias analysis for constified pointers. Fix call unroll checks in the presence of metamethod frames. Fix initial maxslot for down-recursive traces. Prevent BASE register coalescing if parent uses IR_RETF. Don't purge modified function from stack slots in BC_RET. Fix recording of BC_VARG. Don't access dangling reference to reallocated IR. Fix frame depth display for bytecode dump in -jdump. ARM: Fix register allocation when rematerializing FPRs. x64: Fix store to upvalue for lightuserdata values. FFI: Add missing GC steps for callback argument conversions. FFI: Properly unload loaded DLLs. FFI: Fix argument checks for ffi.string(). FFI/x64: Fix passing of vector arguments to calls. FFI: Rehash finalizer table after GC cycle, if needed. FFI: Fix cts->L for cdata unsinking in snapshot restore. </ChangeLog>
Diffstat (limited to 'lang/luajit')
-rw-r--r--lang/luajit/Makefile2
-rw-r--r--lang/luajit/distinfo4
-rw-r--r--lang/luajit/files/patch-Makefile23
3 files changed, 14 insertions, 15 deletions
diff --git a/lang/luajit/Makefile b/lang/luajit/Makefile
index 877ca42583f3..822664063f67 100644
--- a/lang/luajit/Makefile
+++ b/lang/luajit/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= luajit
-DISTVERSION= 2.0.2
+DISTVERSION= 2.0.3
CATEGORIES= lang
MASTER_SITES= http://luajit.org/download/
DISTNAME= LuaJIT-${DISTVERSION}
diff --git a/lang/luajit/distinfo b/lang/luajit/distinfo
index 806758786fe5..82bee7cacbf9 100644
--- a/lang/luajit/distinfo
+++ b/lang/luajit/distinfo
@@ -1,2 +1,2 @@
-SHA256 (LuaJIT-2.0.2.tar.gz) = c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38
-SIZE (LuaJIT-2.0.2.tar.gz) = 843031
+SHA256 (LuaJIT-2.0.3.tar.gz) = 55be6cb2d101ed38acca32c5b1f99ae345904b365b642203194c585d27bebd79
+SIZE (LuaJIT-2.0.3.tar.gz) = 844927
diff --git a/lang/luajit/files/patch-Makefile b/lang/luajit/files/patch-Makefile
index 4160babf0ba0..bf4676fd34aa 100644
--- a/lang/luajit/files/patch-Makefile
+++ b/lang/luajit/files/patch-Makefile
@@ -1,24 +1,23 @@
---- Makefile.orig 2013-02-20 00:15:00.000000000 +0400
-+++ Makefile 2013-04-16 11:00:30.120967135 +0400
-@@ -24,14 +24,16 @@
+--- Makefile.orig 2014-03-12 16:10:00.000000000 +0400
++++ Makefile 2014-08-16 18:57:38.000000000 +0400
+@@ -24,7 +24,7 @@
# 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 PREFIX= /usr/local
+ export MULTILIB= lib
##############################################################################
- DPREFIX= $(DESTDIR)$(PREFIX)
- INSTALL_BIN= $(DPREFIX)/bin
- INSTALL_LIB= $(DPREFIX)/lib
-+INSTALL_LIBD= $(DPREFIX)/libdata
+@@ -33,6 +33,7 @@
+ INSTALL_LIB= $(DPREFIX)/$(MULTILIB)
INSTALL_SHARE= $(DPREFIX)/share
INSTALL_INC= $(DPREFIX)/include/luajit-$(MAJVER).$(MINVER)
-+INSTALL_MAN= $(DPREFIX)/man/man1
++INSTALL_LIBD= $(DPREFIX)/libdata
INSTALL_LJLIBD= $(INSTALL_SHARE)/luajit-$(VERSION)
INSTALL_JITLIB= $(INSTALL_LJLIBD)/jit
-@@ -39,14 +41,14 @@
+@@ -40,14 +41,14 @@
INSTALL_LMOD= $(INSTALL_LMODD)/$(ABIVER)
INSTALL_CMODD= $(INSTALL_LIB)/lua
INSTALL_CMOD= $(INSTALL_CMODD)/$(ABIVER)
@@ -36,7 +35,7 @@
INSTALL_DYLIBNAME= libluajit-$(ABIVER).$(MAJVER).$(MINVER).$(RELVER).dylib
INSTALL_DYLIBSHORT1= libluajit-$(ABIVER).dylib
INSTALL_DYLIBSHORT2= libluajit-$(ABIVER).$(MAJVER).dylib
-@@ -56,12 +58,13 @@
+@@ -57,12 +58,13 @@
INSTALL_DYN= $(INSTALL_LIB)/$(INSTALL_SONAME)
INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
@@ -52,7 +51,7 @@
UNINSTALL_DIRS= $(INSTALL_JITLIB) $(INSTALL_LJLIBD) $(INSTALL_INC) \
$(INSTALL_LMOD) $(INSTALL_LMODD) $(INSTALL_CMOD) $(INSTALL_CMODD)
-@@ -110,10 +113,9 @@
+@@ -112,10 +114,9 @@
$(RM) $(INSTALL_TSYM) $(INSTALL_DYN) $(INSTALL_SHORT1) $(INSTALL_SHORT2)
cd src && test -f $(FILE_SO) && \
$(INSTALL_X) $(FILE_SO) $(INSTALL_DYN) && \
@@ -65,7 +64,7 @@
cd etc && $(SED_PC) $(FILE_PC) > $(FILE_PC).tmp && \
$(INSTALL_F) $(FILE_PC).tmp $(INSTALL_PC) && \
$(RM) $(FILE_PC).tmp
-@@ -131,7 +133,6 @@
+@@ -133,7 +134,6 @@
for file in $(FILES_INC); do \
$(UNINSTALL) $(INSTALL_INC)/$$file; \
done