X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/124c9d9c48d33aa0410082dc549fff3e22fbefb7..b8d5619ca8ac95b4a0365a7adcce4b0d9c7305ce:/package/lua/patches/100-no_readline.patch?ds=sidebyside diff --git a/package/lua/patches/100-no_readline.patch b/package/lua/patches/100-no_readline.patch index 7969a2974..0350e470a 100644 --- a/package/lua/patches/100-no_readline.patch +++ b/package/lua/patches/100-no_readline.patch @@ -1,8 +1,6 @@ -Index: lua-5.1.3/src/luaconf.h -=================================================================== ---- lua-5.1.3.orig/src/luaconf.h 2008-04-13 16:18:00.338123105 +0200 -+++ lua-5.1.3/src/luaconf.h 2008-04-13 16:18:14.110907972 +0200 -@@ -36,7 +36,6 @@ +--- a/src/luaconf.h ++++ b/src/luaconf.h +@@ -38,7 +38,6 @@ #if defined(LUA_USE_LINUX) #define LUA_USE_POSIX #define LUA_USE_DLOPEN /* needs an extra library: -ldl */ @@ -10,11 +8,9 @@ Index: lua-5.1.3/src/luaconf.h #endif #if defined(LUA_USE_MACOSX) -Index: lua-5.1.3/src/Makefile -=================================================================== ---- lua-5.1.3.orig/src/Makefile 2008-04-13 16:18:18.695169214 +0200 -+++ lua-5.1.3/src/Makefile 2008-04-13 16:24:41.036957630 +0200 -@@ -17,6 +17,7 @@ +--- a/src/Makefile ++++ b/src/Makefile +@@ -17,6 +17,7 @@ LIBS= -lm $(MYLIBS) MYCFLAGS= MYLDFLAGS= MYLIBS= @@ -22,7 +18,7 @@ Index: lua-5.1.3/src/Makefile # == END OF USER SETTINGS. NO NEED TO CHANGE ANYTHING BELOW THIS LINE ========= -@@ -83,7 +84,7 @@ +@@ -86,7 +87,7 @@ echo: @echo "MYLIBS = $(MYLIBS)" # convenience targets for popular platforms @@ -31,7 +27,7 @@ Index: lua-5.1.3/src/Makefile none: @echo "Please choose a platform:" @echo " $(PLATS)" -@@ -98,16 +99,16 @@ +@@ -101,16 +102,16 @@ bsd: $(MAKE) all MYCFLAGS="-DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-Wl,-E" freebsd: