From 0dd8de08af34eed95ef604eba83729293b602a85 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Tue, 18 Mar 2014 06:40:01 +0000 Subject: [PATCH] Update to librsvg-2.40.2. --- x11/gnome/librsvg/Makefile | 4 +-- x11/gnome/librsvg/distinfo | 4 +-- x11/gnome/librsvg/patches/patch-rsvg-base_c | 38 --------------------- 3 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 x11/gnome/librsvg/patches/patch-rsvg-base_c diff --git a/x11/gnome/librsvg/Makefile b/x11/gnome/librsvg/Makefile index 23f069d1a75..f82144b82aa 100644 --- a/x11/gnome/librsvg/Makefile +++ b/x11/gnome/librsvg/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.93 2013/11/19 20:21:28 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.94 2014/03/18 06:40:01 ajacoutot Exp $ SHARED_ONLY= Yes COMMENT= SAX-based render library for SVG files GNOME_PROJECT= librsvg -GNOME_VERSION= 2.40.1 +GNOME_VERSION= 2.40.2 SHARED_LIBS += rsvg-2 38.1 # 42.0 diff --git a/x11/gnome/librsvg/distinfo b/x11/gnome/librsvg/distinfo index f37f84c062e..2ae396c13e6 100644 --- a/x11/gnome/librsvg/distinfo +++ b/x11/gnome/librsvg/distinfo @@ -1,2 +1,2 @@ -SHA256 (gnome/librsvg-2.40.1.tar.xz) = iBO0/ndtXnrLzii6y67TDMsM7Dc06zYyxxGhbr4pYdc= -SIZE (gnome/librsvg-2.40.1.tar.xz) = 505664 +SHA256 (gnome/librsvg-2.40.2.tar.xz) = SASbZDKUY2333hpLmXQU1plmb13ER3aUXCGKJX0qKRw= +SIZE (gnome/librsvg-2.40.2.tar.xz) = 506048 diff --git a/x11/gnome/librsvg/patches/patch-rsvg-base_c b/x11/gnome/librsvg/patches/patch-rsvg-base_c deleted file mode 100644 index b41fbb7e95e..00000000000 --- a/x11/gnome/librsvg/patches/patch-rsvg-base_c +++ /dev/null @@ -1,38 +0,0 @@ -$OpenBSD: patch-rsvg-base_c,v 1.3 2013/12/08 19:30:07 ajacoutot Exp $ - -From 02cb19835cb52bd84b0b5eaca1b4d6338417d261 Mon Sep 17 00:00:00 2001 -From: Antoine Jacoutot -Date: Tue, 15 Oct 2013 07:36:30 +0000 -Subject: portability: canonicalize_file_name -> realpath - ---- rsvg-base.c.orig Tue Oct 15 09:23:05 2013 -+++ rsvg-base.c Tue Oct 15 09:24:30 2013 -@@ -50,6 +50,8 @@ - #include - #include - #include -+#include -+#include - - #include "rsvg-path.h" - #include "rsvg-paint-server.h" -@@ -2190,8 +2192,7 @@ _rsvg_handle_allow_load (RsvgHandle *handle, - dir = g_file_get_path (base); - g_object_unref (base); - -- /* FIXME portability */ -- cdir = canonicalize_file_name (dir); -+ cdir = realpath (dir, NULL); - g_free (dir); - if (cdir == NULL) - goto deny; -@@ -2200,8 +2201,7 @@ _rsvg_handle_allow_load (RsvgHandle *handle, - if (path == NULL) - goto deny; - -- /* FIXME portability */ -- cpath = canonicalize_file_name (path); -+ cpath = realpath (path, NULL); - g_free (path); - - if (cpath == NULL)