AFAICT the proposed changes in your patch are part of the larger patch provided in bug #707205 (which was committed to Inkscape trunk already). The issue with '--export-dynamic' is not fully addressed yet IMHO (especially for platforms which don't use a GNU ld) - see also the link to inkscpape-devel in the comments of bug #707205.
Duplicate of Bug #707205 “Inkscape 0.48.0 fails to build with gcc 4.6”? /bugs.launchpad .net/inkscape/ +bug/707205>
<https:/
AFAICT the proposed changes in your patch are part of the larger patch provided in bug #707205 (which was committed to Inkscape trunk already). The issue with '--export-dynamic' is not fully addressed yet IMHO (especially for platforms which don't use a GNU ld) - see also the link to inkscpape-devel in the comments of bug #707205.