Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 319912 Details for
Bug 310487
dev-tex/luatex: Manual rebuilding required after upgrade of sys-libs/zlib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debian patch
relax-zlib-version-check (text/plain), 1.18 KB, created by
Alexis Ballier
on 2012-07-31 20:06:55 UTC
(
hide
)
Description:
debian patch
Filename:
MIME Type:
Creator:
Alexis Ballier
Created:
2012-07-31 20:06:55 UTC
Size:
1.18 KB
patch
obsolete
>From email of Hilmar to luazlib author: >The version check is very strict, it checks even the minor version of >the zlib. This causes a disfunction in luatex in case people upgrade >their zlib version (see http://bugs.debian.org/581818 and friends). > >Is there a specific reason why the check is that strict? Do you >think it is possible to untighten it and check only the major version >of the zlib (i.e. turn the 5 above into a 3)? >--- > source/texk/web2c/luatexdir/luazlib/lzlib.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >Index: trunk/source/texk/web2c/luatexdir/luazlib/lzlib.c >=================================================================== >--- trunk.orig/source/texk/web2c/luatexdir/luazlib/lzlib.c 2010-07-01 18:06:30.000000000 +0900 >+++ trunk/source/texk/web2c/luatexdir/luazlib/lzlib.c 2010-07-01 18:07:01.000000000 +0900 >@@ -551,7 +551,7 @@ > > /* make sure header and library version are consistent */ > const char* version = zlibVersion(); >- if (strncmp(version, ZLIB_VERSION, 5)) >+ if (strncmp(version, ZLIB_VERSION, 3)) > { > lua_pushfstring(L, "zlib library version does not match - header: %s, library: %s", ZLIB_VERSION, version); > lua_error(L);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 310487
:
307627
|
319734
| 319912