OpenWrt v22.03.7: revert to branch defaults
[openwrt/openwrt.git] / package / utils / lua / patches / 020-shared_liblua.patch
index bcd410f690b55109c9857cfc917448dd7ad6a473..f67ee2b3c7f3085107dc113459f63f854ffe7583 100644 (file)
@@ -3,12 +3,12 @@
 @@ -42,8 +42,8 @@ PLATS= aix ansi bsd freebsd generic linu
  
  # What to install.
- TO_BIN= lua luac
+ TO_BIN= lua$V luac$V
 -TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp
 -TO_LIB= liblua.a
 +TO_INC= lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp lnum_config.h
 +TO_LIB= liblua.a liblua.so.$R
- TO_MAN= lua.1 luac.1
+ TO_MAN= lua$V.1 luac$V.1
  
  # Lua version and release.
 @@ -63,6 +63,7 @@ install: dummy
@@ -21,7 +21,7 @@
  ranlib:
 --- a/src/ldo.h
 +++ b/src/ldo.h
-@@ -46,7 +46,7 @@ LUAI_FUNC int luaD_pcall (lua_State *L, 
+@@ -46,7 +46,7 @@ LUAI_FUNC int luaD_pcall (lua_State *L,
  LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
  LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize);
  LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
  CORE_O=       lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o \
        lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o  \
        lundump.o lvm.o lzio.o lnum.o
-@@ -33,11 +34,12 @@ LUA_T=     lua
+@@ -33,11 +34,12 @@ LUA_T=     lua$V
  LUA_O=        lua.o
  
- LUAC_T=       luac
+ LUAC_T=       luac$V
 -LUAC_O=       luac.o print.o
 +LUAC_O=       luac.o print.o lopcodes.o