Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 169037

Summary: pstoedit-3.44 does not compile with ming-0.2a-r3
Product: Gentoo Linux Reporter: Thomas Scheiblauer <tom>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ming-0.2a-mingpp-addstring.patch
ming-0.2a-r3.ebuild

Description Thomas Scheiblauer 2007-03-02 19:25:52 UTC
and probably other packages utilizing mingpp.h, neither.
There is a bug in mingpp.h within SWFText::addString using 'float' instead of 'int' for the 'advance' argument. The C function declaration uses 'int'. gcc 4.1.2 obvilously doesn't do an implicit conversion in this case. Maybe this is since gcc 4.1.2 because I didn't notice it before.
Anyway I'll attach my patch and the modified ebuild.
Comment 1 Thomas Scheiblauer 2007-03-02 19:27:57 UTC
Created attachment 111835 [details, diff]
ming-0.2a-mingpp-addstring.patch
Comment 2 Thomas Scheiblauer 2007-03-02 19:28:21 UTC
Created attachment 111836 [details, diff]
ming-0.2a-r3.ebuild
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 20:18:05 UTC
Please, attach to the original bug; thanks.

*** This bug has been marked as a duplicate of bug 137204 ***