commit:     437dd07ebf11db8a8babbf70c317dbbe7abad168
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 17:35:27 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 17:35:30 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437dd07e

sys-apps/dbus: fixup elogind patch

Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch 
b/sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch
index 1cf9094990e6..543eac5b30f2 100644
--- a/sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch
+++ b/sys-apps/dbus/files/dbus-1.15.8-enable-elogind.patch
@@ -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
  
@@ -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)
 +

Reply via email to