summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'remove-luazlib-zlib-header-check.patch')
-rw-r--r--remove-luazlib-zlib-header-check.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/remove-luazlib-zlib-header-check.patch b/remove-luazlib-zlib-header-check.patch
deleted file mode 100644
index f6c1fd3..0000000
--- a/remove-luazlib-zlib-header-check.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 47ca872d418772a227f143ec17fe4341a7afaf75 Mon Sep 17 00:00:00 2001
-From: Mikle Kolyada <zlogene@gentoo.org>
-Date: Sun, 2 Jun 2019 14:16:09 +0300
-Subject: [PATCH 4/6] remove luazlib zlib header check
-
-https://bugs.gentoo.org/show_bug.cgi?id=310487
-https://bugs.gentoo.org/show_bug.cgi?id=605766
-
-Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
----
- texk/web2c/luatexdir/luazlib/lzlib.c | 8 --------
- 1 file changed, 8 deletions(-)
-
-diff --git a/texk/web2c/luatexdir/luazlib/lzlib.c b/texk/web2c/luatexdir/luazlib/lzlib.c
-index e61f92d5..b03e14d4 100644
---- a/texk/web2c/luatexdir/luazlib/lzlib.c
-+++ b/texk/web2c/luatexdir/luazlib/lzlib.c
-@@ -544,14 +544,6 @@ LUALIB_API int luaopen_zlib(lua_State *L)
-
- /* ====================================================================== */
-
-- /* make sure header and library version are consistent */
-- const char* version = zlibVersion();
-- if (strncmp(version, ZLIB_VERSION, 4))
-- {
-- lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
-- lua_error(L);
-- }
--
- /* create new metatable for zlib compression structures */
- luaL_newmetatable(L, ZSTREAMMETA);
- lua_pushliteral(L, "__index");
---
-2.21.0
-