Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317509 - dev-vcs/monotone-0.45 fails to build with gcc-4.5
Summary: dev-vcs/monotone-0.45 fails to build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.5
  Show dependency tree
 
Reported: 2010-04-27 17:01 UTC by Philipp
Modified: 2010-04-27 17:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Proposed fix (monotone-0.45-gcc45.patch,267 bytes, patch)
2010-04-27 17:01 UTC, Philipp
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp 2010-04-27 17:01:04 UTC
monotone uses an std::vector with a class that has only been declared. This is not allowed by the standard. Fix this by including the class's definition at this point.

This might be fixed in later versions of monotone, but 0.45 is the latest in the tree. I will have to check.
Comment 1 Philipp 2010-04-27 17:01:27 UTC
Created attachment 229411 [details, diff]
Proposed fix
Comment 2 Philipp 2010-04-27 17:10:42 UTC
The build issue seems to be fixed in monotone-0.47.

Please see the bump request: http://bugs.gentoo.org/show_bug.cgi?id=309577
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-04-27 17:30:58 UTC
+  27 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> monotone-0.45.ebuild,
+  +files/monotone-0.45-gcc45.patch:
+  Fix building with GCC 4.5 wrt #317509 by Philipp.