summaryrefslogtreecommitdiff
path: root/sys-auth/polkit/files/polkit-0.120-meson.patch
blob: 5e144688d374606d528b69959656a453d218f510 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From e7f3d9e8341df64e2abc3910dafb1113a84bff07 Mon Sep 17 00:00:00 2001
From: Simon McVittie <smcv@debian.org>
Date: Mon, 25 Oct 2021 20:21:27 +0100
Subject: [PATCH] Don't pass positional parameters to i18n.merge_file

These were always ignored, and Meson 0.60.0 disallowed them.

Resolves: https://gitlab.freedesktop.org/polkit/polkit/-/issues/160
Reference: https://github.com/mesonbuild/meson/pull/9445
Signed-off-by: Simon McVittie <smcv@debian.org>
---
 actions/meson.build      | 1 -
 src/examples/meson.build | 1 -
 2 files changed, 2 deletions(-)

diff --git a/actions/meson.build b/actions/meson.build
index 2abaaf3..1e3f370 100644
--- a/actions/meson.build
+++ b/actions/meson.build
@@ -1,7 +1,6 @@
 policy = 'org.freedesktop.policykit.policy'
 
 i18n.merge_file(
-  policy,
   input: policy + '.in',
   output: '@BASENAME@',
   po_dir: po_dir,
diff --git a/src/examples/meson.build b/src/examples/meson.build
index c6305ab..8c18de5 100644
--- a/src/examples/meson.build
+++ b/src/examples/meson.build
@@ -1,7 +1,6 @@
 policy = 'org.freedesktop.policykit.examples.pkexec.policy'
 
 i18n.merge_file(
-  policy,
   input: policy + '.in',
   output: '@BASENAME@',
   po_dir: po_dir,
-- 
GitLab