diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-06 20:53:21 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-01-06 20:53:21 +0000 |
commit | 2a3a6f96b4be51222fc098f7ec1f169bcfb3d82e (patch) | |
tree | 296855ac34fea169e4331afaae31385d8739ad6d /math/gnumeric | |
parent | add p5-Math-Trig 0.02 (diff) |
Reduce the XML I/O buffer size from 1 MB to 768 KB. This fixes a thread[0]
overflow that caused Gnumeric to crash or hang when opening XML files.
PR: 46807
Notes
Notes:
svn path=/head/; revision=72648
Diffstat (limited to 'math/gnumeric')
-rw-r--r-- | math/gnumeric/Makefile | 1 | ||||
-rw-r--r-- | math/gnumeric/files/patch-src_xml-io.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile index 3eb0bc41bec2..5d2b19810a55 100644 --- a/math/gnumeric/Makefile +++ b/math/gnumeric/Makefile @@ -7,6 +7,7 @@ PORTNAME= gnumeric PORTVERSION= 1.0.12 +PORTREVISION= 1 CATEGORIES?= math gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/1.0 diff --git a/math/gnumeric/files/patch-src_xml-io.c b/math/gnumeric/files/patch-src_xml-io.c new file mode 100644 index 000000000000..8445637e409d --- /dev/null +++ b/math/gnumeric/files/patch-src_xml-io.c @@ -0,0 +1,11 @@ +--- src/xml-io.c.orig Mon Jan 6 15:45:21 2003 ++++ src/xml-io.c Mon Jan 6 15:44:40 2003 +@@ -67,7 +67,7 @@ + + /* FIXME - tune the values below */ + /* libxml1 parser bug breaks multibyte characters on buffer margins */ +-#define XML_INPUT_BUFFER_SIZE 1024*1024 ++#define XML_INPUT_BUFFER_SIZE 1024*768 + #define N_ELEMENTS_BETWEEN_UPDATES 20 + + /* ------------------------------------------------------------------------- */ |