slackware-current/source/t/texlive/patches/quit-breaking-on-minor-zlib-bump.patch
Patrick J Volkerding 075f0a2233 Tue Apr 9 18:14:27 UTC 2024
l/abseil-cpp-20240116.2-x86_64-1.txz:  Upgraded.
l/dotconf-1.4.1-x86_64-1.txz:  Upgraded.
t/texlive-2024.240409-x86_64-1.txz:  Upgraded.
  Thanks to Johannes Schoepfer.
x/xorg-server-xwayland-23.2.6-x86_64-1.txz:  Upgraded.
xap/blueman-2.4.1-x86_64-1.txz:  Upgraded.
2024-04-09 21:00:29 +02:00

21 lines
894 B
Diff

--- ./texk/web2c/luatexdir/luazlib/lzlib.c.orig 2024-04-09 12:32:20.232075369 -0500
+++ ./texk/web2c/luatexdir/luazlib/lzlib.c 2024-04-09 12:33:53.746077461 -0500
@@ -544,13 +544,16 @@
/* ====================================================================== */
+ /* There's no justification for breaking this every time zlib does a minor
+ upgrade without changing the ABI. Commenting out the below block: */
+
/* make sure header and library version are consistent */
- const char* version = zlibVersion();
+ /* const char* version = zlibVersion();
if (strncmp(version, ZLIB_VERSION, 2))
{
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);