Bug 149929 - sys-libs/zlib 1.2.3 fails to export post-1.2.2 symbols
Bug#: 149929 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: galtgendo@o2.pl
Component: Ebuilds
URL: 
Summary: sys-libs/zlib 1.2.3 fails to export post-1.2.2 symbols
Keywords:  
Status Whiteboard: 
Opened: 2006-10-03 01:08 0000
Description:   Opened: 2006-10-03 01:08 0000
Well, zlib.h defines gzdirect, inflateGetheader and more, but
zlib-1.2.2-mapfile.patch doesn't have them. Due to that many post-1.2.2 symbols
are not exported, resulting in linker errors (undefined reference).
I created zlib-1.2.3-mapfile.patch by reading zlib's Changelog and adding all
functions listed as added post 1.2.2. Don't know if it's any good.

------- Comment #1 From Rafał Mużyło 2006-10-03 01:12:15 0000 -------
Created an attachment (id=98690) [details]
Above mentioned patch

It seems to work.

------- Comment #2 From SpanKY 2006-10-04 19:25:24 0000 -------
going the mapfile route isnt really maintainable ... i doubt most people who
would bump zlib would even realize they need to update it

i'll see about adding a visibility/hidden test to the configure script and then
tagging all the symbols that arent supposed to be exported as hidden ...

------- Comment #3 From SpanKY 2006-10-06 22:40:30 0000 -------
should be fixed in 1.2.3-r1 now

------- Comment #4 From SpanKY 2006-10-23 10:26:43 0000 -------
*** Bug 151190 has been marked as a duplicate of this bug. ***