git: 8f00bb52c929 - main - x11/gnome-shell-extensions: unbreak build with Meson 0.61.0

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 25 Jan 2022 12:26:28 UTC
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8f00bb52c9298b1a63f10c2f38fa3ea6cf7127b4

commit 8f00bb52c9298b1a63f10c2f38fa3ea6cf7127b4
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-25 11:53:43 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-25 12:24:56 +0000

    x11/gnome-shell-extensions: unbreak build with Meson 0.61.0
    
    data/meson.build:2:5: ERROR: Function does not take positional arguments.
    
    PR:             260943
    Reported by:    antoine (via exp-run)
    Regressed by:   https://github.com/mesonbuild/meson/commit/61f2866a9fa1
---
 x11/gnome-shell-extensions/files/patch-data_meson.build | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/x11/gnome-shell-extensions/files/patch-data_meson.build b/x11/gnome-shell-extensions/files/patch-data_meson.build
new file mode 100644
index 000000000000..c9a0cc88efb1
--- /dev/null
+++ b/x11/gnome-shell-extensions/files/patch-data_meson.build
@@ -0,0 +1,13 @@
+https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/210
+
+data/meson.build:2:5: ERROR: Function does not take positional arguments.
+
+--- data/meson.build.orig	2021-12-11 13:32:22 UTC
++++ data/meson.build
+@@ -1,5 +1,5 @@
+ session_desktop = 'gnome-classic.desktop'
+-i18n.merge_file('',
++i18n.merge_file(
+   input:  session_desktop + '.in',
+   output: session_desktop,
+   po_dir: '../po',