aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorbland <bland@FreeBSD.org>2004-04-17 01:06:21 +0800
committerbland <bland@FreeBSD.org>2004-04-17 01:06:21 +0800
commit99cf4ccb9a001aba4d9118a4de2de2c12726c05c (patch)
treeae648801c618ae6d88fa7a5f848555bf93f44aeb /graphics
parent99421fa583b2579528e66fd183dea07d5e2fb0af (diff)
downloadfreebsd-ports-gnome-99cf4ccb9a001aba4d9118a4de2de2c12726c05c.tar.gz
freebsd-ports-gnome-99cf4ccb9a001aba4d9118a4de2de2c12726c05c.tar.zst
freebsd-ports-gnome-99cf4ccb9a001aba4d9118a4de2de2c12726c05c.zip
Fix crasher bug. There is a problem in inkscape provoked by
sp_object_invoke_write() call wich result in bunch on gtk signals emission wich in turn may release parent knot holder object beeng modified. Current fix is not correct way to resolve the situation but it let us safely go.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/inkscape/Makefile1
-rw-r--r--graphics/inkscape/files/patch-src::knotholder.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index fbfd19e1e65e..c1e64652efd2 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -7,6 +7,7 @@
PORTNAME= inkscape
PORTVERSION= 0.38.1
+PORTREVISION= 1
CATEGORIES= graphics gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/graphics/inkscape/files/patch-src::knotholder.cpp b/graphics/inkscape/files/patch-src::knotholder.cpp
new file mode 100644
index 000000000000..0c5e31968607
--- /dev/null
+++ b/graphics/inkscape/files/patch-src::knotholder.cpp
@@ -0,0 +1,11 @@
+--- src/knotholder.cpp.orig Fri Apr 16 23:02:03 2004
++++ src/knotholder.cpp Sat Apr 17 01:22:19 2004
+@@ -164,7 +164,7 @@
+ } else {
+ SPObject *object = (SPObject *) kh->item;
+ sp_object_invoke_write (object, object->repr, SP_OBJECT_WRITE_EXT);
+- sp_document_done (SP_OBJECT_DOCUMENT (kh->item));
++ sp_document_done (SP_OBJECT_DOCUMENT (object));
+ }
+ }
+