Skip to content

Commit

Permalink
sys-apps/dbus: fixup elogind patch
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Sep 2, 2023
1 parent 4f01962 commit 437dd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ particularly required. The only known consumer at the moment is hplip.
#ifdef HAVE_SYSTEMD
#include <systemd/sd-login.h>
#endif
+#if HAVE_ELOGIND
+#ifdef HAVE_ELOGIND
+#include <elogind/sd-login.h>
+#endif

Expand Down Expand Up @@ -40,7 +40,7 @@ particularly required. The only known consumer at the moment is hplip.
endif
endif

+elogind = dependency('elogind', version: '>=209', required: get_option('elogind'))
+elogind = dependency('libelogind', version: '>=209', required: get_option('elogind'))
+use_elogind = elogind.found()
+config.set('HAVE_ELOGIND', use_elogind)
+
Expand Down

0 comments on commit 437dd07

Please sign in to comment.