Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215574 - media-gfx/inkscape-0.46-r1 fails to compile with gcc-4.3.0
Summary: media-gfx/inkscape-0.46-r1 fails to compile with gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 13:17 UTC by Bert Karwatzki
Modified: 2008-04-06 13:54 UTC (History)
0 users

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


Attachments
Added the patch as an attachment (inkscape-046-r1-gcc43-fix.patch,287 bytes, patch)
2008-03-31 20:16 UTC, Bert Karwatzki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bert Karwatzki 2008-03-31 13:17:34 UTC
This Bug should be the same in inkscape-0.46-r2

Reproducible: Always




This patch solves the problem:

diff -aur src.old/dom/dom.h src/dom/dom.h
--- src.old/dom/dom.h   2008-03-29 16:56:05.000000000 +0100
+++ src/dom/dom.h       2008-03-29 17:14:30.000000000 +0100
@@ -30,6 +30,7 @@
  */

 #include <vector>
+#include <cstring>

 //# include this before the #ifdefs below
 #include "domconfig.h"
Comment 1 Bert Karwatzki 2008-03-31 20:16:01 UTC
Created attachment 147899 [details, diff]
Added the patch as an attachment
Comment 2 Markus Meier gentoo-dev 2008-04-06 13:54:43 UTC
Thanks for the patch, I added it to media-gfx/inkscape-0.46-r2.