summaryrefslogtreecommitdiff
path: root/graphics/gimpshop
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimpshop')
-rw-r--r--graphics/gimpshop/files/patch-plug-ins_common_svg.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gimpshop/files/patch-plug-ins_common_svg.c b/graphics/gimpshop/files/patch-plug-ins_common_svg.c
new file mode 100644
index 000000000000..5c915dc67bab
--- /dev/null
+++ b/graphics/gimpshop/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);