Summary: | www-client/lynx-2.8.8_pre9 fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dennis Schridde <dschridde+gentoobugs> |
Component: | Current packages | Assignee: | Tim Harder <radhermit> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug, realnc, ulm, wormo, zeekec |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 383179 | ||
Bug Blocks: | |||
Attachments: |
build.log
Patch against Lynx 2.8.8_pre9 |
Description
Dennis Schridde
2011-09-15 14:54:15 UTC
Created attachment 286557 [details]
build.log
It looks like the incompatibility is with zlib-1.2.5.1. It affects older versions of lynx too! I must say that 'ON' is a stupid name for a macro in the zlib header files! Created attachment 286575 [details]
Patch against Lynx 2.8.8_pre9
I patched the sources of Lynx 2.8.8_pre9 to rename ON to LON and OFF to LOFF. It should now build and work fine.
I am attaching the patch. I did not send this upstream.
Fixed in CVS. I now sent this upstream, but we will have to wait and see whether upstream zlib (they are now aware of the issue) will fix this and use more appropriate identifiers for those macros. So this patch might not be needed in the future. Also, SpanKY has patched zlib itself (1.2.5.1-r1, see bug 383179). So the lynx patch is actually not needed right now. But I guess we need to wait and see how this whole thing will resolve. this was actually a dupe of Bug 383179 |