diff --git a/gvsbuild/patches/librsvg/0001-allow-dead-code.patch b/gvsbuild/patches/librsvg/0001-allow-dead-code.patch deleted file mode 100644 index ca51d06fb..000000000 --- a/gvsbuild/patches/librsvg/0001-allow-dead-code.patch +++ /dev/null @@ -1,29 +0,0 @@ -From a840b7562668587dd70418aa7279268c41eb8424 Mon Sep 17 00:00:00 2001 -From: Federico Mena Quintero -Date: Thu, 9 May 2024 10:46:33 -0600 -Subject: [PATCH] Allow dead code for CairoContextState, since the logging - machinery doesn't use it yet - -Newer rustc complains about this, since that struct is never -constructed outside the tests. - -Part-of: ---- - rsvg/src/log.rs | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/rsvg/src/log.rs b/rsvg/src/log.rs -index 15e947bc4..9ad7c7e4f 100644 ---- a/rsvg/src/log.rs -+++ b/rsvg/src/log.rs -@@ -20,6 +20,7 @@ macro_rules! rsvg_log { - /// context as it was passed in by the caller. For example, librsvg may decide to - /// operate differently depending on the context's target surface type, or its current - /// transformation matrix. This struct captures that sort of information. -+#[allow(dead_code)] // this is never constructed yet; allow building on newer rustc which warns about this - #[derive(Copy, Clone, Debug, PartialEq)] - struct CairoContextState { - surface_type: cairo::SurfaceType, --- -GitLab - diff --git a/gvsbuild/projects/librsvg.py b/gvsbuild/projects/librsvg.py index d2ce5f161..d233a8d3f 100644 --- a/gvsbuild/projects/librsvg.py +++ b/gvsbuild/projects/librsvg.py @@ -24,10 +24,10 @@ def __init__(self): Project.__init__( self, "librsvg", - version="2.58.0", + version="2.58.1", repository="https://gitlab.gnome.org/GNOME/librsvg", archive_url="https://download.gnome.org/sources/librsvg/{major}.{minor}/librsvg-{version}.tar.xz", - hash="d7c444a926406b59790be0deae196e18ed26059da573fa1aa9ec9ca7658a559c", + hash="3728596290a8576d305d06ec8afdf473516feee9dff22e03235eac433d56824e", dependencies=[ "cargo", "cairo", @@ -36,9 +36,7 @@ def __init__(self): "libxml2", "freetype", ], - patches=[ - "0001-allow-dead-code.patch", - ], + patches=[], ) if Project.opts.enable_gi: self.add_dependency("gobject-introspection")