diff options
Diffstat (limited to 'Build/source/libs/lua53/TLpatches')
-rw-r--r-- | Build/source/libs/lua53/TLpatches/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/libs/lua53/TLpatches/patch-01-utf-8 | 5 | ||||
-rw-r--r-- | Build/source/libs/lua53/TLpatches/patch-02-FreeBSD | 5 | ||||
-rw-r--r-- | Build/source/libs/lua53/TLpatches/patch-03-export | 11 |
4 files changed, 15 insertions, 10 deletions
diff --git a/Build/source/libs/lua53/TLpatches/ChangeLog b/Build/source/libs/lua53/TLpatches/ChangeLog index dd2bcb2f07b..c0a302c75a9 100644 --- a/Build/source/libs/lua53/TLpatches/ChangeLog +++ b/Build/source/libs/lua53/TLpatches/ChangeLog @@ -1,6 +1,8 @@ -2018-07-21 Luigi Scarso <luigi.scarso@gmail.com> +2020-10-04 Luigi Scarso <luigi.scarso@gmail.com> Adapted for lua 5.3.5 +2018-07-21 Luigi Scarso <luigi.scarso@gmail.com> + Adapted for lua 5.3.5 2017-10-24 Luigi Scarso <luigi.scarso@gmail.com> Adapted for lua 5.3.4 diff --git a/Build/source/libs/lua53/TLpatches/patch-01-utf-8 b/Build/source/libs/lua53/TLpatches/patch-01-utf-8 index 0f7cb898128..69f07417699 100644 --- a/Build/source/libs/lua53/TLpatches/patch-01-utf-8 +++ b/Build/source/libs/lua53/TLpatches/patch-01-utf-8 @@ -1,6 +1,6 @@ diff -u lctype.h.orig lctype.h ---- lctype.h.orig 2018-07-21 09:57:36.061692228 +0200 -+++ lctype.h 2018-07-21 10:03:29.625677730 +0200 +--- lctype.h.orig 2020-10-04 12:05:56.139893521 +0200 ++++ lctype.h 2020-10-04 12:21:33.348948021 +0200 @@ -7,6 +7,8 @@ #ifndef lctype_h #define lctype_h @@ -24,3 +24,4 @@ diff -u lctype.h.orig lctype.h #define lisdigit(c) testprop(c, MASK(DIGITBIT)) #define lisspace(c) testprop(c, MASK(SPACEBIT)) #define lisprint(c) testprop(c, MASK(PRINTBIT)) + diff --git a/Build/source/libs/lua53/TLpatches/patch-02-FreeBSD b/Build/source/libs/lua53/TLpatches/patch-02-FreeBSD index ad85a5988d8..c197854cbd4 100644 --- a/Build/source/libs/lua53/TLpatches/patch-02-FreeBSD +++ b/Build/source/libs/lua53/TLpatches/patch-02-FreeBSD @@ -1,6 +1,6 @@ diff -u liolib.c.orig liolib.c ---- liolib.c.orig 2017-04-19 19:29:57.000000000 +0200 -+++ liolib.c 2018-07-21 10:04:50.965674394 +0200 +--- liolib.c.orig 2020-10-04 12:06:03.579772529 +0200 ++++ liolib.c 2020-10-04 12:12:12.061843306 +0200 @@ -16,6 +16,9 @@ #include <stdio.h> #include <stdlib.h> @@ -10,3 +10,4 @@ diff -u liolib.c.orig liolib.c +#endif #include "lua.h" + diff --git a/Build/source/libs/lua53/TLpatches/patch-03-export b/Build/source/libs/lua53/TLpatches/patch-03-export index 9bc2a4627fc..1da523bc755 100644 --- a/Build/source/libs/lua53/TLpatches/patch-03-export +++ b/Build/source/libs/lua53/TLpatches/patch-03-export @@ -1,6 +1,6 @@ diff -u lopcodes.h.orig lopcodes.h ---- lopcodes.h.orig 2018-07-21 09:59:37.349687255 +0200 -+++ lopcodes.h 2018-07-21 10:07:04.413668921 +0200 +--- lopcodes.h.orig 2020-10-04 12:06:08.639690280 +0200 ++++ lopcodes.h 2020-10-04 12:10:02.143921798 +0200 @@ -278,7 +278,7 @@ OpArgK /* argument is a constant or register/constant */ }; @@ -22,14 +22,15 @@ diff -u lopcodes.h.orig lopcodes.h diff -u lundump.h.orig lundump.h ---- lundump.h.orig 2018-07-21 10:00:01.545686262 +0200 -+++ lundump.h 2018-07-21 10:08:12.341666136 +0200 +--- lundump.h.orig 2020-10-04 12:06:14.335597724 +0200 ++++ lundump.h 2020-10-04 12:07:11.218675336 +0200 @@ -26,7 +26,7 @@ LUAI_FUNC LClosure* luaU_undump (lua_State* L, ZIO* Z, const char* name); /* dump one chunk; from ldump.c */ -LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, -+LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, ++LUAI_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip); #endif + |