summaryrefslogtreecommitdiffstats
path: root/lua-5.1.4-lunatic.patch
diff options
context:
space:
mode:
authorTim Niemueller <niemueller@kbsg.rwth-aachen.de>2011-01-29 11:47:31 +0100
committerTim Niemueller <niemueller@kbsg.rwth-aachen.de>2011-01-29 11:47:31 +0100
commit79052831cb953d4667424307fc0c9ccf7d77a0d6 (patch)
treef0719b04bfa507455bc798b941f337bc02670524 /lua-5.1.4-lunatic.patch
parent3310d8d4fde37204b740bc3b2184d8bfbd9b114c (diff)
parentaec7b633ddf2ea07b329e420845f1908a7036b25 (diff)
downloadlua-79052831cb953d4667424307fc0c9ccf7d77a0d6.tar.gz
lua-79052831cb953d4667424307fc0c9ccf7d77a0d6.tar.xz
lua-79052831cb953d4667424307fc0c9ccf7d77a0d6.zip
Merge branch 'master' into f13
Conflicts: .gitignore
Diffstat (limited to 'lua-5.1.4-lunatic.patch')
-rw-r--r--lua-5.1.4-lunatic.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua-5.1.4-lunatic.patch b/lua-5.1.4-lunatic.patch
new file mode 100644
index 0000000..70315b2
--- /dev/null
+++ b/lua-5.1.4-lunatic.patch
@@ -0,0 +1,11 @@
+--- src/loadlib.c.orig 2010-02-09 16:58:47.000000000 -0600
++++ src/loadlib.c 2010-02-09 16:59:12.000000000 -0600
+@@ -66,7 +66,7 @@
+
+
+ static void *ll_load (lua_State *L, const char *path) {
+- void *lib = dlopen(path, RTLD_NOW);
++ void *lib = dlopen(path, RTLD_NOW|RTLD_GLOBAL);
+ if (lib == NULL) lua_pushstring(L, dlerror());
+ return lib;
+ }