aboutsummaryrefslogtreecommitdiff
path: root/src/lfs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/lfs.patch')
-rw-r--r--src/lfs.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lfs.patch b/src/lfs.patch
new file mode 100644
index 00000000..85391e65
--- /dev/null
+++ b/src/lfs.patch
@@ -0,0 +1,11 @@
+--- lfs.c 2015-04-18 10:36:56.458722799 -0400
++++ lib/lfs.c 2015-04-18 10:37:06.806736918 -0400
+@@ -78,7 +78,7 @@
+ #endif
+
+ #if LUA_VERSION_NUM < 502
+-# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,NULL,l))
++# define luaL_newlib(L,l) (lua_newtable(L), luaL_register(L,LFS_LIBNAME,l))
+ #endif
+
+ /* Define 'strerror' for systems that do not implement it */