summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAisha Tammy <gentoo@aisha.cc>2021-02-13 19:25:01 +0000
committerJoonas Niilola <juippis@gentoo.org>2021-02-14 10:24:58 +0200
commitc608e0dcc129ea3abf2f1f56cf2db2c85ffd28ff (patch)
tree7d55c12fa8b9b0398836a232a5afcf72e992d25b /dev-util/hermes/files
parentdev-ruby/timers: add 4.3.3 (diff)
downloadgentoo-c608e0dcc129ea3abf2f1f56cf2db2c85ffd28ff.tar.gz
gentoo-c608e0dcc129ea3abf2f1f56cf2db2c85ffd28ff.tar.bz2
gentoo-c608e0dcc129ea3abf2f1f56cf2db2c85ffd28ff.zip
dev-util/hermes: move to commit version for >lua5.1 compat
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Aisha Tammy <gentoo@aisha.cc> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-util/hermes/files')
-rw-r--r--dev-util/hermes/files/hermes-2.8-lua-shebang.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/dev-util/hermes/files/hermes-2.8-lua-shebang.patch b/dev-util/hermes/files/hermes-2.8-lua-shebang.patch
index 67058f726d78..c575c5e605a2 100644
--- a/dev-util/hermes/files/hermes-2.8-lua-shebang.patch
+++ b/dev-util/hermes/files/hermes-2.8-lua-shebang.patch
@@ -1,13 +1,3 @@
-diff --git a/lib/tool.lua b/lib/tool.lua
-index a9124f3..8c39911 100755
---- a/lib/tool.lua
-+++ b/lib/tool.lua
-@@ -1,4 +1,4 @@
--#!/usr/bin/env lua
-+#!@LUA@
-
- require("strict")
- function tool()
diff --git a/bin/lua_cmd b/bin/lua_cmd
index fabc5d5..32c8e13 100755
--- a/bin/lua_cmd
@@ -21,3 +11,13 @@ index fabc5d5..32c8e13 100755
fi
export LUA_PATH="$execLuaPath$extra"
+diff --git a/lib/tool.lua b/lib/tool.lua
+index 01acca1..bec5e8d 100755
+--- a/lib/tool.lua
++++ b/lib/tool.lua
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env lua
++#!@LUA@
+ _DEBUG = false
+ local posix = require("posix")
+