summaryrefslogtreecommitdiff
path: root/graphics/librsvg2-rust/files
diff options
context:
space:
mode:
authorDaniel Engberg <diizzy@FreeBSD.org>2025-03-31 21:54:57 +0200
committerDaniel Engberg <diizzy@FreeBSD.org>2025-03-31 22:07:52 +0200
commit77c505ee59c85f183d9db1d7cf293dfa0bfcd0e9 (patch)
tree3315ed5bd57c176795f89d77e1e382af6ec54b2c /graphics/librsvg2-rust/files
parentall: expire more consumers of devel/py-pytest-runners on 2025-06-01 (diff)
graphics/librsvg2-rust: Update to 2.60.0
* Upstream switched to Meson Changelog: https://gitlab.gnome.org/GNOME/librsvg/-/releases/2.60.0 Thanks to mikael@ and fluffy@ for testing and suggesting fixes including for consumers PR: 284977 Tested by: fluffy Approved by: desktop (vishwin (previous version), fluffy)
Diffstat (limited to 'graphics/librsvg2-rust/files')
-rw-r--r--graphics/librsvg2-rust/files/patch-meson_cargo__wrapper.py12
-rw-r--r--graphics/librsvg2-rust/files/patch-rsvg_meson.build11
2 files changed, 23 insertions, 0 deletions
diff --git a/graphics/librsvg2-rust/files/patch-meson_cargo__wrapper.py b/graphics/librsvg2-rust/files/patch-meson_cargo__wrapper.py
new file mode 100644
index 000000000000..5017f0585940
--- /dev/null
+++ b/graphics/librsvg2-rust/files/patch-meson_cargo__wrapper.py
@@ -0,0 +1,12 @@
+--- meson/cargo_wrapper.py.orig 2025-02-22 18:19:31 UTC
++++ meson/cargo_wrapper.py
+@@ -164,6 +164,9 @@ else:
+ else:
+ buildtype = 'debug'
+
++cargo_cmd.extend(['--verbose'])
++cargo_cmd.extend(['--verbose'])
++
+ if args.target:
+ cargo_cmd.extend(['--target', args.target])
+
diff --git a/graphics/librsvg2-rust/files/patch-rsvg_meson.build b/graphics/librsvg2-rust/files/patch-rsvg_meson.build
new file mode 100644
index 000000000000..b3d935afa978
--- /dev/null
+++ b/graphics/librsvg2-rust/files/patch-rsvg_meson.build
@@ -0,0 +1,11 @@
+--- rsvg/meson.build.orig 2025-03-29 19:19:55 UTC
++++ rsvg/meson.build
+@@ -171,7 +171,7 @@ else
+ if host_system in ['darwin', 'ios']
+ vflag = '-Wl,-exported_symbols_list,@0@'.format(version_script)
+ else
+- vflag = '-Wl,--version-script,@0@'.format(version_script)
++ vflag = '-Wl,--undefined-version,--version-script,@0@'.format(version_script)
+ endif
+
+ # This is not strictly needed, but since we are telling Cargo to build a staticlib, it puts in