summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2023-12-29 12:44:16 +0100
committerFlorian Schmaus <flow@gentoo.org>2023-12-29 12:44:19 +0100
commit8ad7a6ea96460be721cbbe388b7ba2f0a921910b (patch)
tree741bd19e1af9be70ecee063b422d2a2b1693e114 /0004-remove-luazlib-zlib-header-check.patch
downloadtex-patches-8ad7a6ea96460be721cbbe388b7ba2f0a921910b.tar.gz
tex-patches-8ad7a6ea96460be721cbbe388b7ba2f0a921910b.tar.bz2
tex-patches-8ad7a6ea96460be721cbbe388b7ba2f0a921910b.zip
Initial import from https://dev.gentoo.org/~sam/distfiles/texlive/texlive-core-patches-2021-1.tar.xz
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to '0004-remove-luazlib-zlib-header-check.patch')
-rw-r--r--0004-remove-luazlib-zlib-header-check.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/0004-remove-luazlib-zlib-header-check.patch b/0004-remove-luazlib-zlib-header-check.patch
new file mode 100644
index 0000000..f6c1fd3
--- /dev/null
+++ b/0004-remove-luazlib-zlib-header-check.patch
@@ -0,0 +1,35 @@
+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
+