summaryrefslogtreecommitdiff
path: root/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch')
-rw-r--r--media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch b/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch
new file mode 100644
index 000000000000..4ae460ac99d7
--- /dev/null
+++ b/media-sound/gnome-music/files/40.1.1-fix-build-with-meson-0.61.1.patch
@@ -0,0 +1,24 @@
+https://gitlab.gnome.org/GNOME/gnome-music/-/commit/d9f35b542adbf6b0e1114c7c077df04212a98fc7
+https://bugs.gentoo.org/831936
+
+From: Jean Felder <jfelder@src.gnome.org>
+Date: Thu, 18 Nov 2021 12:09:26 +0100
+Subject: [PATCH] meson: Remove incorrect i18n.merge_file argument
+
+The positional argument was being silently ignored until meson 0.60.0
+where it returns a deprecation message:
+"DEPRECATION: i18n.merge_file does not take any positional
+arguments. This will become a hard error in the next Meson release."
+
+See: https://github.com/mesonbuild/meson/issues/9441
+--- a/data/meson.build
++++ b/data/meson.build
+@@ -47,7 +47,6 @@ appdata_conf.set('appid', APPLICATION_ID)
+ appdata_conf.set('package_url', PACKAGE_URL)
+ appdata_conf.set('package_url_bug', PACKAGE_URL_BUG)
+ i18n.merge_file(
+- 'appdata',
+ input: configure_file(
+ output: PROJECT_RDNN_NAME + '.appdata.xml.in',
+ input: PROJECT_RDNN_NAME + '.appdata.xml.in.in',
+GitLab