diff options
-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 68822b540..899e98c78 100644 --- a/graphics/librsvg2/Makefile +++ b/graphics/librsvg2/Makefile @@ -7,6 +7,7 @@ PORTNAME= librsvg2 PORTVERSION= 2.6.3 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.6 diff --git a/graphics/librsvg2/files/patch-rsvg-styles.c b/graphics/librsvg2/files/patch-rsvg-styles.c new file mode 100644 index 000000000..6e7eee133 --- /dev/null +++ b/graphics/librsvg2/files/patch-rsvg-styles.c @@ -0,0 +1,21 @@ +--- rsvg-styles.c.orig Tue Mar 23 23:04:27 2004 ++++ rsvg-styles.c Tue Mar 23 23:04:36 2004 +@@ -553,16 +553,16 @@ + if (status != CR_OK) + { + g_warning ("Error setting CSS SAC handler\n"); +- 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 */ |