Summary: | www-client/chromium doesn't build with libpng 1.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hanno Böck <hanno> |
Component: | Current packages | Assignee: | Chromium Project <chromium> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=54406 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 354479 | ||
Attachments: | chromium-webkit-libpng15.patch |
Description
Hanno Böck
![]() Created attachment 267541 [details, diff]
chromium-webkit-libpng15.patch
Patches have landed upstream. Please let me know if you'd like them to be backported. Note that Chromium has very short release cycles, so I'd expect it to be available in stable channel releases within about 8 weeks. The upstream patch http://trac.webkit.org/changeset/82344 has landed about 5 weeks ago. I'd expect it to be in at least the dev channel releases. If anyone wants to verify it (test which version of www-client/chromium compiles against libpng-1.5), great. I can build aganst libpng-1.5 with the chromium trunk, but not the dev channel. Works: 14.0.804.0 (Developer Build f78fd02 Linux) Broken: www-client/chromium-14.0.797.0 third_party/WebKit/Source/WebCore/platform/image-encoders/skia/PNGImageEncoder.cpp:47:44: error: invalid use of incomplete type ‘struct png_struct’ /usr/include/libpng15/png.h:811:16: error: forward declaration of ‘struct png_struct’ make: *** [out/Release/obj.target/webcore_platform/third_party/WebKit/Source/WebCore/platform/image-encoders/skia/PNGImageEncoder.o] Error 1 Looks like this was fixed by angelos in a recent webkit change. https://bugs.webkit.org/show_bug.cgi?id=61738 my patch is in 14.0.803.0, which Paweł added yesterday also, emerge just finished here. 14.0.803.0 builds fine against libpng-1.5 (and with gcc-4.6 btw) (In reply to comment #7) > also, emerge just finished here. 14.0.803.0 builds fine against libpng-1.5 (and > with gcc-4.6 btw) Excellent. Thank you for testing. I'll keep the bugs open until 14.x moves into ~arch, which should happen within a few weeks. Just tested here: www-client/chromium-13.0.782.109 fails with libpng-1.5 www-client/chromium-14.0.835.18 is fine with libpng-1.5 So waiting for 14.x to hit ~arch. chromium-14.x is now in ~arch, closing |