<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>215574</bug_id>
          
          <creation_ts>2008-03-31 13:17 0000</creation_ts>
          <short_desc>media-gfx/inkscape-0.46-r1 fails to compile with gcc-4.3.0</short_desc>
          <delta_ts>2008-04-06 13:54:43 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>GCC Porting</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>spasswolf@web.de</reporter>
          <assigned_to>graphics@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>spasswolf@web.de</who>
            <bug_when>2008-03-31 13:17:34 0000</bug_when>
            <thetext>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 &lt;vector&gt;
+#include &lt;cstring&gt;

 //# include this before the #ifdefs below
 #include &quot;domconfig.h&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spasswolf@web.de</who>
            <bug_when>2008-03-31 20:16:01 0000</bug_when>
            <thetext>Created an attachment (id=147899)
Patch as attacheme

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>maekke@gentoo.org</who>
            <bug_when>2008-04-06 13:54:43 0000</bug_when>
            <thetext>Thanks for the patch, I added it to media-gfx/inkscape-0.46-r2.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>147899</attachid>
            <date>2008-03-31 20:16 0000</date>
            <desc>Added the patch as an attachment</desc>
            <filename>inkscape-046-r1-gcc43-fix.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtYXVyIHNyYy5vbGQvZG9tL2RvbS5oIHNyYy9kb20vZG9tLmgKLS0tIHNyYy5vbGQvZG9t
L2RvbS5oCTIwMDgtMDMtMjkgMTY6NTY6MDUuMDAwMDAwMDAwICswMTAwCisrKyBzcmMvZG9tL2Rv
bS5oCTIwMDgtMDMtMjkgMTc6MTQ6MzAuMDAwMDAwMDAwICswMTAwCkBAIC0zMCw2ICszMCw3IEBA
CiAgKi8KIAogI2luY2x1ZGUgPHZlY3Rvcj4KKyNpbmNsdWRlIDxjc3RyaW5nPgogCiAvLyMgaW5j
bHVkZSB0aGlzIGJlZm9yZSB0aGUgI2lmZGVmcyBiZWxvdwogI2luY2x1ZGUgImRvbWNvbmZpZy5o
Igo=
</data>        

          </attachment>
    </bug>

</bugzilla>