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
..
2026-03-11 22:31:49 +00:00
2024-07-09 17:12:55 -03:00
2026-04-07 16:17:51 -04:00
2026-04-12 21:47:03 +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
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
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
2026-04-20 14:00:20 +00:00
2026-04-20 14:00:20 +00: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
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
2024-07-09 17:12:55 -03:00
2025-04-30 14:00:20 +00:00
2024-07-09 17:12:55 -03:00
2024-07-09 17:12:55 -03:00
2025-01-09 17:00:07 +01:00
2026-01-05 21:16:15 +05:30
2025-12-08 19:09:56 +00:00
2026-03-19 23:40:29 +00: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
2026-01-21 17:58:19 +00: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
2026-04-16 10:37:45 +00:00
2026-01-21 17:58:19 +00:00
2025-10-24 16:27:33 +00: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
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
2025-12-08 19:09:56 +00:00
2026-01-21 17:58:19 +00:00