| 1 |
Let soname dictate the ABI and do not check for minor/micro which requires
|
| 2 |
needless rebuilds after every zlib update. By Ulrich Müller.
|
| 3 |
|
| 4 |
https://bugs.gentoo.org/show_bug.cgi?id=310487
|
| 5 |
http://www.ntg.nl/pipermail/dev-luatex/2012-July/004534.html
|
| 6 |
|
| 7 |
--- luatex-beta-0.70.1-orig/source/texk/web2c/luatexdir/luazlib/lzlib.c
|
| 8 |
+++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/luazlib/lzlib.c
|
| 9 |
@@ -549,14 +549,6 @@
|
| 10 |
|
| 11 |
/* ====================================================================== */
|
| 12 |
|
| 13 |
- /* make sure header and library version are consistent */
|
| 14 |
- const char* version = zlibVersion();
|
| 15 |
- if (strncmp(version, ZLIB_VERSION, 5))
|
| 16 |
- {
|
| 17 |
- lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
|
| 18 |
- lua_error(L);
|
| 19 |
- }
|
| 20 |
-
|
| 21 |
/* create new metatable for zlib compression structures */
|
| 22 |
luaL_newmetatable(L, ZSTREAMMETA);
|
| 23 |
lua_pushliteral(L, "__index");
|