summaryrefslogtreecommitdiff
path: root/graphics/librsvg2/files
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/librsvg2/files')
-rw-r--r--graphics/librsvg2/files/patch-configure13
-rw-r--r--graphics/librsvg2/files/patch-gimp-plugin_Makefile.in11
-rw-r--r--graphics/librsvg2/files/patch-rsvg-paint-server.c22
-rw-r--r--graphics/librsvg2/files/patch-rsvg-styles.c21
4 files changed, 43 insertions, 24 deletions
diff --git a/graphics/librsvg2/files/patch-configure b/graphics/librsvg2/files/patch-configure
deleted file mode 100644
index 444b8335e4d7..000000000000
--- a/graphics/librsvg2/files/patch-configure
+++ /dev/null
@@ -1,13 +0,0 @@
-
-$FreeBSD$
-
---- configure 2002/04/25 19:16:30 1.1
-+++ configure 2002/04/25 19:16:42
-@@ -5397,6 +5397,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/graphics/librsvg2/files/patch-gimp-plugin_Makefile.in b/graphics/librsvg2/files/patch-gimp-plugin_Makefile.in
deleted file mode 100644
index b8d240267194..000000000000
--- a/graphics/librsvg2/files/patch-gimp-plugin_Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- gimp-plugin/Makefile.in.orig Sun Mar 23 19:17:25 2003
-+++ gimp-plugin/Makefile.in Sun Mar 23 19:17:41 2003
-@@ -103,7 +103,7 @@
- VERSION = @VERSION@
- VERSION_INFO = @VERSION_INFO@
-
--gimpdir = $(libdir)/gimp/1.3/plug-ins
-+gimpdir = $(libexecdir)/gimp/1.3/plug-ins
-
- INCLUDES = \
- $(LIBRSVG_CFLAGS) \
diff --git a/graphics/librsvg2/files/patch-rsvg-paint-server.c b/graphics/librsvg2/files/patch-rsvg-paint-server.c
new file mode 100644
index 000000000000..72f7b8d1fa0b
--- /dev/null
+++ b/graphics/librsvg2/files/patch-rsvg-paint-server.c
@@ -0,0 +1,22 @@
+--- rsvg-paint-server.c.orig Tue Mar 30 13:48:53 2004
++++ rsvg-paint-server.c Tue Mar 30 13:49:10 2004
+@@ -150,6 +150,9 @@
+ double dx, dy, scale;
+ double affine[6];
+ int i;
++ float xchange, ychange, pointlen,unitlen;
++ float nx2, ny2;
++ float x0, y0;
+
+ agl = z->agl;
+ if (agl == NULL)
+@@ -180,9 +183,6 @@
+
+ art_affine_multiply(affine, rlg->affine, affine);
+
+- float xchange, ychange, pointlen,unitlen;
+- float nx2, ny2;
+- float x0, y0;
+
+ xchange = rlg->x2 - rlg->x1;
+ ychange = rlg->y2 - rlg->y1;
diff --git a/graphics/librsvg2/files/patch-rsvg-styles.c b/graphics/librsvg2/files/patch-rsvg-styles.c
new file mode 100644
index 000000000000..6e7eee133489
--- /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 */