/[gentoo-x86]/dev-tex/luatex/files/remove-zlib-version-check.patch
Gentoo

Contents of /dev-tex/luatex/files/remove-zlib-version-check.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Aug 1 13:00:17 2012 UTC (9 months, 2 weeks ago) by aballier
Branch: MAIN
CVS Tags: HEAD
Remove zlib version check which breaks at every minor/micro bump in zlib, by Ulrich Müller, bug #310487

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

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");

  ViewVC Help
Powered by ViewVC 1.1.13