Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-tex/luatex/files: remove-zlib-version-check.patch
Date: Wed, 01 Aug 2012 13:00:29
Message-Id: 20120801130017.682252004C@flycatcher.gentoo.org
1 aballier 12/08/01 13:00:17
2
3 Added: remove-zlib-version-check.patch
4 Log:
5 Remove zlib version check which breaks at every minor/micro bump in zlib, by Ulrich Müller, bug #310487
6
7 (Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-tex/luatex/files/remove-zlib-version-check.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/files/remove-zlib-version-check.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-tex/luatex/files/remove-zlib-version-check.patch?rev=1.1&content-type=text/plain
14
15 Index: remove-zlib-version-check.patch
16 ===================================================================
17 Let soname dictate the ABI and do not check for minor/micro which requires
18 needless rebuilds after every zlib update. By Ulrich Müller.
19
20 https://bugs.gentoo.org/show_bug.cgi?id=310487
21 http://www.ntg.nl/pipermail/dev-luatex/2012-July/004534.html
22
23 --- luatex-beta-0.70.1-orig/source/texk/web2c/luatexdir/luazlib/lzlib.c
24 +++ luatex-beta-0.70.1/source/texk/web2c/luatexdir/luazlib/lzlib.c
25 @@ -549,14 +549,6 @@
26
27 /* ====================================================================== */
28
29 - /* make sure header and library version are consistent */
30 - const char* version = zlibVersion();
31 - if (strncmp(version, ZLIB_VERSION, 5))
32 - {
33 - lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version);
34 - lua_error(L);
35 - }
36 -
37 /* create new metatable for zlib compression structures */
38 luaL_newmetatable(L, ZSTREAMMETA);
39 lua_pushliteral(L, "__index");