Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381063 - media-gfx/pencil-0.4.4_beta fails to compile with gcc-4.6.1 (patch included)
Summary: media-gfx/pencil-0.4.4_beta fails to compile with gcc-4.6.1 (patch included)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2011-08-29 14:29 UTC by Helmut Jarausch
Modified: 2011-09-06 09:00 UTC (History)
1 user (show)

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


Attachments
ebuild applying the patch (pencil-0.4.4_beta.ebuild,1.07 KB, text/plain)
2011-08-29 14:29 UTC, Helmut Jarausch
Details
patch to avoid taking an address of a return value. (beziercurve.patch,823 bytes, patch)
2011-08-29 14:30 UTC, Helmut Jarausch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2011-08-29 14:29:44 UTC
Created attachment 285009 [details]
ebuild applying the patch

media-gfx/pencil-0.4.4_beta fails to compile under gcc-4.6.1 because it contains
invalid C++ code: in src/graphics/vector/beziercurve.cpp it takes the address of a temporary object (return value).

The attached patch fixes this.
Helmut.
Comment 1 Helmut Jarausch 2011-08-29 14:30:52 UTC
Created attachment 285011 [details, diff]
patch to avoid taking an address of a return value.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2011-09-06 09:00:46 UTC
Patch added. Thanks for the patch and the bug report.