summaryrefslogtreecommitdiff
path: root/Build/source/libs/lua53
diff options
context:
space:
mode:
authorLuigi Scarso <luigi.scarso@gmail.com>2018-01-19 00:33:11 +0000
committerLuigi Scarso <luigi.scarso@gmail.com>2018-01-19 00:33:11 +0000
commit1ac895d2df3e20334a1b5a80d931b6d1be8e0703 (patch)
treebea3848f49eb7f0333912aa5a8a70cec2b7e2fc7 /Build/source/libs/lua53
parentc617985bce5465eb0ad7e1bb6f9a31b5cf6dafa3 (diff)
removed useless files
git-svn-id: svn://tug.org/texlive/trunk@46380 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/lua53')
-rw-r--r--Build/source/libs/lua53/TLpatches/_patch-01-utf-826
-rw-r--r--Build/source/libs/lua53/TLpatches/_patch-02-FreeBSD13
-rw-r--r--Build/source/libs/lua53/TLpatches/_patch-03-export33
3 files changed, 0 insertions, 72 deletions
diff --git a/Build/source/libs/lua53/TLpatches/_patch-01-utf-8 b/Build/source/libs/lua53/TLpatches/_patch-01-utf-8
deleted file mode 100644
index 9ad97494106..00000000000
--- a/Build/source/libs/lua53/TLpatches/_patch-01-utf-8
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -ur lua-5.2.4.orig/src/lctype.h lua-5.2.4/src/lctype.h
---- lua-5.2.4.orig/src/lctype.h 2013-04-12 20:48:47.000000000 +0200
-+++ lua-5.2.4/src/lctype.h 2014-02-13 13:17:33.000000000 +0100
-@@ -7,6 +7,8 @@
- #ifndef lctype_h
- #define lctype_h
-
-+#include <ctype.h>
-+
- #include "lua.h"
-
-
-@@ -53,9 +55,11 @@
-
- /*
- ** 'lalpha' (Lua alphabetic) and 'lalnum' (Lua alphanumeric) both include '_'
-+**
-+** all utf-8 chars (greater than 0x7f) are always alphabetic
- */
--#define lislalpha(c) testprop(c, MASK(ALPHABIT))
--#define lislalnum(c) testprop(c, (MASK(ALPHABIT) | MASK(DIGITBIT)))
-+#define lislalpha(c) (isalpha(c) || (c) == '_' || (c) > 0x7f)
-+#define lislalnum(c) (isalnum(c) || (c) == '_' || (c) > 0x7f)
- #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
deleted file mode 100644
index c9465de9446..00000000000
--- a/Build/source/libs/lua53/TLpatches/_patch-02-FreeBSD
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur lua-5.2.4.orig/src/liolib.c lua-5.2.4/src/liolib.c
---- lua-5.2.4.orig/src/liolib.c 2013-04-12 20:48:47.000000000 +0200
-+++ lua-5.2.4/src/liolib.c 2014-03-19 15:03:49.727286832 +0100
-@@ -19,6 +19,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#if defined(HAVE_UNISTD_H)
-+#include <unistd.h>
-+#endif
-
- #define liolib_c
- #define LUA_LIB
diff --git a/Build/source/libs/lua53/TLpatches/_patch-03-export b/Build/source/libs/lua53/TLpatches/_patch-03-export
deleted file mode 100644
index 2c2edd01b6a..00000000000
--- a/Build/source/libs/lua53/TLpatches/_patch-03-export
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -ur lua-5.2.4.orig/src/lopcodes.h lua-5.2.4/src/lopcodes.h
---- lua-5.2.4.orig/src/lopcodes.h 2014-10-20 20:32:09.000000000 +0200
-+++ lua-5.2.4/src/lopcodes.h 2015-03-11 08:31:42.000000000 +0100
-@@ -269,7 +269,7 @@
- OpArgK /* argument is a constant or register/constant */
- };
-
--LUAI_DDEC const lu_byte luaP_opmodes[NUM_OPCODES];
-+LUA_API const lu_byte luaP_opmodes[NUM_OPCODES];
-
- #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3))
- #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3))
-@@ -278,7 +278,7 @@
- #define testTMode(m) (luaP_opmodes[m] & (1 << 7))
-
-
--LUAI_DDEC const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
-+LUA_API const char *const luaP_opnames[NUM_OPCODES+1]; /* opcode names */
-
-
- /* number of list items to accumulate before a SETLIST instruction */
-diff -ur lua-5.2.4.orig/src/lundump.h lua-5.2.4/src/lundump.h
---- lua-5.2.4.orig/src/lundump.h 2013-04-12 20:48:47.000000000 +0200
-+++ lua-5.2.4/src/lundump.h 2014-10-22 11:14:59.000000000 +0200
-@@ -17,7 +17,7 @@
- LUAI_FUNC void luaU_header (lu_byte* h);
-
- /* dump one chunk; from ldump.c */
--LUAI_FUNC int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
-+LUA_API int luaU_dump (lua_State* L, const Proto* f, lua_Writer w, void* data, int strip);
-
- /* data to catch conversion errors */
- #define LUAC_TAIL "\x19\x93\r\n\x1a\n"