Rudi Heitbaum
68ffa487ee
dir: fix build when HAVE_LIBSYSTEMD but not USE_SYSTEM_HELPER
...
polkit_subject_to_string() is called inside the HAVE_LIBSYSTEMD guard
in flatpak_dir_log(), but <polkit/polkit.h> is only included when
USE_SYSTEM_HELPER is defined. This causes a build failure on
configurations that have libsystemd but no system helper.
Guard the polkit call with USE_SYSTEM_HELPER and fall back to "(none)"
so the subject string is always valid for the sd_journal_send() call.
Fixes: f9d5c5c ("dir: Free result of polkit_subject_to_string")
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com >
2026-05-09 18:56:16 +05:30
..
2019-10-03 10:42:04 +02:00
2026-03-11 22:31:49 +00:00
2019-12-19 10:33:21 +01:00
2022-08-22 19:48:10 -07:00
2024-07-09 17:12:55 -03:00
2021-02-12 15:58:09 +01:00
2026-04-07 16:17:51 -04:00
2026-04-12 21:47:03 +00:00
2019-09-19 16:53:11 +00:00
2019-09-19 16:53:11 +00:00
2026-04-07 15:13:44 +00:00
2026-04-16 10:37:45 +00:00
2026-04-29 10:14:29 +00:00
2025-12-08 19:09:56 +00:00
2024-07-09 17:12:55 -03:00
2024-07-09 17:12:55 -03:00
2026-05-09 18:56:16 +05:30
2025-08-25 15:56:20 +00:00
2025-08-25 15:56:20 +00:00
2022-09-07 09:21:58 +02:00
2022-09-07 09:21:58 +02:00
2019-02-25 18:12:30 +00:00
2026-01-21 17:58:19 +00:00
2025-09-24 17:19:21 +00:00
2025-09-24 17:19:21 +00:00
2025-08-26 11:51:07 +00:00
2023-05-17 11:35:44 +01:00
2025-10-24 16:27:33 +00:00
2025-10-24 16:27:33 +00:00
2025-12-08 19:09:56 +00:00
2025-12-08 19:09:56 +00:00
2019-10-02 14:57:11 +02:00
2026-04-20 14:00:20 +00:00
2026-04-20 14:00:20 +00:00
2020-11-05 10:43:10 +01:00
2023-02-04 12:30:15 -06:00
2021-02-12 15:58:09 +01:00
2023-10-27 17:09:52 +01:00
2023-10-27 17:09:52 +01:00
2021-02-12 15:58:09 +01:00
2023-05-17 11:35:44 +01:00
2025-12-08 19:09:56 +00:00
2025-12-08 19:09:56 +00:00
2025-12-04 11:08:08 +00:00
2026-01-21 17:58:19 +00:00
2023-11-14 18:39:22 +00:00
2024-03-27 14:22:45 +00:00
2024-10-16 14:11:56 -03:00
2025-12-08 19:09:56 +00:00
2026-01-21 17:58:19 +00:00
2025-12-08 19:09:56 +00:00
2025-12-08 19:09:56 +00:00
2019-10-03 10:42:04 +02:00
2022-12-15 16:45:35 +00:00
2018-04-26 07:41:17 +00:00
2019-12-01 14:04:59 -05:00
2020-03-27 17:23:13 +01:00
2022-12-15 16:45:35 +00:00
2024-07-09 17:12:55 -03:00
2025-04-30 14:00:20 +00:00
2023-07-03 20:07:57 +02:00
2024-07-09 17:12:55 -03:00
2024-07-09 17:12:55 -03:00
2021-02-12 15:58:09 +01:00
2020-03-23 17:58:04 +01:00
2022-08-22 19:48:10 -07:00
2021-02-12 15:58:09 +01:00
2020-03-25 08:52:28 +01:00
2020-11-05 10:43:10 +01:00
2025-01-09 17:00:07 +01:00
2021-02-12 15:58:09 +01:00
2026-01-05 21:16:15 +05:30
2021-02-12 15:58:09 +01:00
2025-12-08 19:09:56 +00:00
2026-03-19 23:40:29 +00:00
2023-05-15 19:54:51 +01:00
2026-01-21 17:58:19 +00:00
2025-10-13 18:31:33 +00:00
2025-10-13 18:31:33 +00:00
2026-04-07 16:17:51 -04:00
2023-05-15 19:54:51 +01:00
2026-01-21 17:58:19 +00:00
2023-08-24 12:17:53 +02:00
2025-10-13 18:31:33 +00:00
2025-10-13 18:31:33 +00:00
2025-10-13 18:31:33 +00:00
2023-05-15 19:54:51 +01:00
2023-09-04 13:25:32 +01:00
2026-04-16 10:37:45 +00:00
2021-10-08 12:53:20 +02:00
2021-05-19 09:49:30 +02:00
2026-01-21 17:58:19 +00:00
2025-10-24 16:27:33 +00:00
2022-09-06 13:20:05 +02:00
2022-09-07 09:21:19 +02:00
2024-10-16 14:11:56 -03:00
2024-10-16 14:11:56 -03:00
2025-10-13 19:02:44 +00:00
2025-10-13 19:02:44 +00:00
2025-05-08 16:08:21 +00:00
2026-01-21 17:58:19 +00:00
2026-04-10 16:00:59 +00:00
2026-04-10 16:00:59 +00:00
2019-12-02 07:45:51 -05:00
2024-05-03 13:21:29 +01:00
2024-05-03 13:21:29 +01:00
2025-11-20 17:30:07 +00:00
2025-11-20 17:30:07 +00:00
2025-11-20 17:30:07 +00:00
2020-06-05 09:35:30 +02:00
2018-05-24 11:59:52 +00:00
2018-10-08 08:36:23 +00:00
2025-12-08 19:09:56 +00:00
2022-04-11 10:32:34 +02:00
2026-01-21 17:58:19 +00:00