Description: Untighten version check of runtime linked zlib. Fix for #1056183.
Forwarded: not-done, could be done
Author: Hilmar Preuße <hille42@web.de>
Last-Update: 20231119

--- texlive-bin.orig/texk/web2c/luatexdir/luazlib/lzlib.c
+++ texlive-bin/texk/web2c/luatexdir/luazlib/lzlib.c
@@ -546,7 +546,7 @@
 
     /* make sure header and library version are consistent */
     const char* version = zlibVersion();
-    if (strncmp(version, ZLIB_VERSION, 4))
+    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);
