X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/b2ead91d0ad4ae14658ed4040e845fb53c0cc415..f1c33394c5df8016358a84b6963573dba4e367ab:/packages/luarocks/Makefile.patch diff --git a/packages/luarocks/Makefile.patch b/packages/luarocks/Makefile.patch index 3473adf1..1116e45c 100644 --- a/packages/luarocks/Makefile.patch +++ b/packages/luarocks/Makefile.patch @@ -1,14 +1,12 @@ -Use luajit instead of lua. - -diff -u -r ../luarocks-2.1.2/Makefile ./Makefile ---- ../luarocks-2.1.2/Makefile 2014-01-10 20:03:03.000000000 +0100 -+++ ./Makefile 2014-07-09 02:51:43.896335398 +0200 -@@ -129,7 +129,7 @@ +diff -u -r ../luarocks-2.4.0/Makefile ./Makefile +--- ../luarocks-2.4.0/Makefile 2016-09-08 14:39:09.000000000 -0400 ++++ ./Makefile 2016-09-26 09:15:45.364036927 -0400 +@@ -116,7 +116,7 @@ for f in $(BIN_FILES) ;\ do \ mv src/bin/$$f src/bin/$$f.bak ;\ - sed "s,^#!.*lua.*,#!/usr/bin/env lua,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\ + sed "s,^#!.*lua.*,#!/usr/bin/env luajit,;/^package.path/d" < src/bin/$$f.bak > src/bin/$$f ;\ - chmod +x src/bin/$$f ;\ + chmod +rx src/bin/$$f ;\ rm -f src/bin/$$f.bak ;\ done