tools/mpfr: update to 4.2.0
[openwrt/staging/dedeckeh.git] / package / utils / util-linux / patches / 020-meson-fix-compilation-without-systemd.patch
1 From 38b15ca2dc4ca32bbe4a2449e1c7b645e4577840 Mon Sep 17 00:00:00 2001
2 From: Rosen Penev <rosenp@gmail.com>
3 Date: Fri, 29 Apr 2022 16:53:43 -0700
4 Subject: [PATCH 1/7] meson: fix compilation without systemd
5
6 systemdsystemunitdir is used elsewhere.
7
8 Signed-off-by: Rosen Penev <rosenp@gmail.com>
9 ---
10 meson.build | 1 +
11 1 file changed, 1 insertion(+)
12
13 --- a/meson.build
14 +++ b/meson.build
15 @@ -720,6 +720,7 @@ if fs_search_path_extra != ''
16 endif
17 conf.set_quoted('FS_SEARCH_PATH', fs_search_path)
18
19 +systemdsystemunitdir = ''
20 if systemd.found()
21 systemdsystemunitdir = systemd.get_pkgconfig_variable('systemdsystemunitdir')
22 endif