aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/lua-moonscript/alt_getopt-compat.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/lua-moonscript/alt_getopt-compat.patch')
-rw-r--r--unmaintained/lua-moonscript/alt_getopt-compat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/unmaintained/lua-moonscript/alt_getopt-compat.patch b/unmaintained/lua-moonscript/alt_getopt-compat.patch
new file mode 100644
index 0000000000..c38f06a3f5
--- /dev/null
+++ b/unmaintained/lua-moonscript/alt_getopt-compat.patch
@@ -0,0 +1,10 @@
+--- ./bin/moon.orig
++++ ./bin/moon
+@@ -1,6 +1,6 @@
+ #!/usr/bin/env lua
+
+-require "alt_getopt"
++local alt_getopt = require "alt_getopt"
+ local moonscript = require "moonscript.base"
+
+ local util = require "moonscript.util"