diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-02 07:18:55 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2004-06-02 07:18:55 +0800 |
commit | 9feb990419de83780fe14ff5562896bb14590713 (patch) | |
tree | 66d1fbc7f28fac95c27eb1347b60daee9894cee7 /graphics | |
parent | 3c2d54142295b409e61c196a271f74cc2d4e05be (diff) | |
download | marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar.gz marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar.bz2 marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar.lz marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar.xz marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.tar.zst marcuscom-ports-9feb990419de83780fe14ff5562896bb14590713.zip |
Re-add files/patch-rsvg-styles.c, this problem is back. Destroy the css_handler
before destroying the parser to prevent a double free.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2349 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/librsvg2/Makefile | 1 | ||||
-rw-r--r-- | graphics/librsvg2/files/patch-rsvg-styles.c | 21 |
2 files changed, 22 insertions, 0 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile index 2a78611c1..b0667fddc 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -7,6 +7,7 @@ PORTNAME= librsvg2 PORTVERSION= 2.7.1 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.7 diff --git a/graphics/librsvg2/files/patch-rsvg-styles.c b/graphics/librsvg2/files/patch-rsvg-styles.c new file mode 100644 index 000000000..7c5733ae5 --- /dev/null +++ b/graphics/librsvg2/files/patch-rsvg-styles.c @@ -0,0 +1,21 @@ +--- rsvg-styles.c.orig Tue Jun 1 18:10:27 2004 ++++ rsvg-styles.c Tue Jun 1 18:11:11 2004 +@@ -839,16 +839,16 @@ + if (status != CR_OK) + { + g_warning (_("Error setting CSS SAC handler")); +- cr_parser_destroy (parser); + cr_doc_handler_destroy (css_handler); ++ cr_parser_destroy (parser); + return; + } + + status = cr_parser_set_use_core_grammar (parser, FALSE); + status = cr_parser_parse (parser); + +- cr_parser_destroy (parser); + cr_doc_handler_destroy (css_handler); ++ cr_parser_destroy (parser); + } + + #else /* !HAVE_LIBCROCO */ |