diff --git a/inkscape-0.48.3.1-hugexml.patch b/inkscape-0.48.3.1-hugexml.patch new file mode 100644 index 0000000..a1822aa --- /dev/null +++ b/inkscape-0.48.3.1-hugexml.patch @@ -0,0 +1,11 @@ +--- src/xml/repr-io.cpp~ 2011-07-08 13:25:09.000000000 -0500 ++++ src/xml/repr-io.cpp 2012-11-01 08:59:23.620360123 -0500 +@@ -294,7 +294,7 @@ + &src, + localFilename, + src.getEncoding(), +- XML_PARSE_NOENT ); ++ XML_PARSE_NOENT | XML_PARSE_HUGE); + } + } + diff --git a/inkscape.spec b/inkscape.spec index dbf2c2b..51aae68 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -1,6 +1,6 @@ Name: inkscape Version: 0.48.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Vector-based drawing program using SVG Group: Applications/Productivity @@ -13,6 +13,7 @@ Patch5: inkscape-0.48.2-png.patch Patch6: inkscape-0.48.2-png-write.patch #Patch7: inkscape-0.48.2-gcc47.patch Patch8: inkscape-0.48.2-poppler_020.patch +Patch9: inkscape-0.48.3.1-hugexml.patch %if 0%{?fedora} && 0%{?fedora} < 18 %define desktop_vendor fedora @@ -128,6 +129,7 @@ graphics in W3C standard Scalable Vector Graphics (SVG) file format. %patch6 -p0 -b .png-write #%patch7 -p0 -b .gcc47 %patch8 -p1 -b .poppler_020 +%patch9 -p0 -b .hugexml # https://bugs.launchpad.net/inkscape/+bug/314381 # A couple of files have executable bits set, @@ -230,6 +232,9 @@ fi %changelog +* Thu Nov 01 2012 Jon Ciesla - 0.48.3.1-2 +- Allow loading large XML, BZ 871012. + * Fri Oct 05 2012 Jon Ciesla - 0.48.3.1-1 - Lastest upstream.