#2691: Zlib 1.2.5 issues
---------------------+------------------------------------------------------
Reporter: willimm | Owner: lfs-b...@…
Type: defect | Status: new
Priority: normal | Milestone: 6.7
Component: Book | Version: SVN
Severity: normal | Keywords:
---------------------+------------------------------------------------------
Comment(by gespinasse):
Another issue with zlib as this match the subject:[[BR]]
zlib.h is changed by gentoo, fedora-devel and Arch linux to fix one issue.
See
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-
libs/zlib/files/zlib-1.2.5-lfs-decls.patch?view=log
Same effect of gentoo patch could be obtained with a
sed -i 's|ifdef _LARGEFILE64_SOURCE|ifndef _LARGEFILE64_SOURCE|' zlib.h
Not sure this is the /right thing/ But at least, this is reported to fix
compilation failure with pdfedit, cgit, freecad, fatrat, libxlm2, luatex
(probably only failure on 64-bits compilation, I have only warnings on
32-bits distrib with libxml2)
With that change, it remove for me on 32-bits compilation those warning
when compiling libxml2
{{{
xmlIO.c:1175: warning: implicit declaration of function 'gzopen64'
xmlIO.c:1175: warning: nested extern declaration of 'gzopen64'
}}}
For more details
http://bugs.gentoo.org/show_bug.cgi?id=316377
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439980
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2691#comment:13>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page