Summary: | app-text/djvu-3.5.23 fails to build with gcc-4.6 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vladimir Smirnov (RETIRED) <civil> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | facorread, jlp.bugs, tex |
Priority: | Normal | Keywords: | InOverlay |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/tracker/?func=detail&aid=3256513&group_id=32953&atid=406585 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346809 | ||
Attachments: |
build.log
Patch |
Description
Vladimir Smirnov (RETIRED)
2011-03-29 08:37:24 UTC
Created attachment 267643 [details]
build.log
Build.log
Created attachment 267645 [details, diff]
Patch
Patch (adding missing include)
Bug also present in djvu-3.5.24. Issue reported upstream. If I read the changes correctly, cstddef should be enough. (In reply to comment #4) > If I read the changes correctly, cstddef should be enough. Maybe. I've found README in gcc-porting overlay a bit after I've found that #include <cstring> helps. That was probably porting to 4.5. See http://gcc.gnu.org/gcc-4.6/changes.html It should be <cstddef>, and you always want config.h to be the first include. Added to overlay. Ryan, I'm unsure what overlay you are talking about, so I've recreated patch based on your comment and committed it in 3.5.24. This should fix this bug. Please, test and reopen this report if this problem still exists. |