Bug 215574 - media-gfx/inkscape-0.46-r1 fails to compile with gcc-4.3.0
Bug#: 215574 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: graphics@gentoo.org Reported By: spasswolf@web.de
Component: GCC Porting
URL: 
Summary: media-gfx/inkscape-0.46-r1 fails to compile with gcc-4.3.0
Keywords:  
Status Whiteboard: 
Opened: 2008-03-31 13:17 0000
Description:   Opened: 2008-03-31 13:17 0000
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 From Bert Karwatzki 2008-03-31 20:16:01 0000 -------
Created an attachment (id=147899) [details]
Patch as attacheme

------- Comment #2 From Markus Meier 2008-04-06 13:54:43 0000 -------
Thanks for the patch, I added it to media-gfx/inkscape-0.46-r2.