summaryrefslogtreecommitdiff
path: root/graphics/gimp
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2005-11-06 19:29:19 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2005-11-06 19:29:19 +0000
commit40483f5ff7b3e1e3c9bc89920cca651733d49a81 (patch)
tree58561f20bf219f39947a5796026f43bd49bd4559 /graphics/gimp
parentAdd devel/p5-Tie-Hash-Sorted, a Perl module to present hashes in sorted (diff)
Add a patch that will allow gimp to build against librsvg2-2.13.1.
Notes
Notes: svn path=/head/; revision=147452
Diffstat (limited to 'graphics/gimp')
-rw-r--r--graphics/gimp/files/patch-plug-ins_common_svg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gimp/files/patch-plug-ins_common_svg.c b/graphics/gimp/files/patch-plug-ins_common_svg.c
new file mode 100644
index 000000000000..5c915dc67bab
--- /dev/null
+++ b/graphics/gimp/files/patch-plug-ins_common_svg.c
@@ -0,0 +1,20 @@
+--- plug-ins/common/svg.c.orig Sun Nov 6 14:24:49 2005
++++ plug-ins/common/svg.c Sun Nov 6 14:25:01 2005
+@@ -437,7 +437,7 @@ load_rsvg_pixbuf (const gchar *filename
+
+ handle = rsvg_handle_new ();
+
+-#if (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION < 99)
++#if (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION < 13)
+ rsvg_handle_set_dpi_x_y (handle, vals->resolution, vals->resolution);
+ #else
+ rsvg_handle_set_dpi (handle, vals->resolution, vals->resolution);
+@@ -538,7 +538,7 @@ load_rsvg_size (const gchar *filename,
+
+ handle = rsvg_handle_new ();
+
+-#if (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION < 99)
++#if (LIBRSVG_MAJOR_VERSION == 2 && LIBRSVG_MINOR_VERSION < 13)
+ rsvg_handle_set_dpi_x_y (handle, vals->resolution, vals->resolution);
+ #else
+ rsvg_handle_set_dpi (handle, vals->resolution, vals->resolution);