diff options
author | adamw <adamw@FreeBSD.org> | 2005-11-07 03:29:19 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2005-11-07 03:29:19 +0800 |
commit | 7ef3a7325cd2a602087da9a7de0334918ea3b9f8 (patch) | |
tree | ea8b72cfe6cb2fc86c7df11857b0b9b195b21969 /graphics | |
parent | 8688278f3e6ee764a678703b4b26ef56770f0402 (diff) | |
download | freebsd-ports-gnome-7ef3a7325cd2a602087da9a7de0334918ea3b9f8.tar.gz freebsd-ports-gnome-7ef3a7325cd2a602087da9a7de0334918ea3b9f8.tar.zst freebsd-ports-gnome-7ef3a7325cd2a602087da9a7de0334918ea3b9f8.zip |
Add a patch that will allow gimp to build against librsvg2-2.13.1.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/gimp-app/files/patch-plug-ins_common_svg.c | 20 | ||||
-rw-r--r-- | graphics/gimp/files/patch-plug-ins_common_svg.c | 20 | ||||
-rw-r--r-- | graphics/gimpshop/files/patch-plug-ins_common_svg.c | 20 |
3 files changed, 60 insertions, 0 deletions
diff --git a/graphics/gimp-app/files/patch-plug-ins_common_svg.c b/graphics/gimp-app/files/patch-plug-ins_common_svg.c new file mode 100644 index 000000000000..5c915dc67bab --- /dev/null +++ b/graphics/gimp-app/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); 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); 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); |