commit:     aa0210884756d6af2bffb67b3770caf5b707db6c
Author:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 26 21:07:51 2017 +0000
Commit:     Ettore Di Giacinto <mudler <AT> gentoo <DOT> org>
CommitDate: Mon Jun 26 21:17:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa021088

app-admin/packagekit-base: Revision bump (bug #622104)

Temporary workaround to fix elogind support patch.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=622104
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../packagekit-base/files/packagekit-base-elogind-support.patch     | 6 ++++--
 ...kagekit-base-1.1.5-r1.ebuild => packagekit-base-1.1.5-r2.ebuild} | 0
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/app-admin/packagekit-base/files/packagekit-base-elogind-support.patch 
b/app-admin/packagekit-base/files/packagekit-base-elogind-support.patch
index bed2a0de449..df7675761d4 100644
--- a/app-admin/packagekit-base/files/packagekit-base-elogind-support.patch
+++ b/app-admin/packagekit-base/files/packagekit-base-elogind-support.patch
@@ -21,7 +21,7 @@
        AC_SUBST([systemdsystemunitdir], [$has_systemdsystemunitdir])
  fi
  AM_CONDITIONAL(HAVE_SYSTEMD, [test -n "$has_systemdsystemunitdir"])
-@@ -267,6 +266,22 @@
+@@ -267,6 +266,24 @@
  AM_CONDITIONAL(ENABLE_OFFLINE_UPDATE, [test x$enable_systemd = xyes -a 
x$enable_offline_update = xyes])
  
  dnl 
---------------------------------------------------------------------------
@@ -31,12 +31,14 @@
 +            enable_elogind=$enableval,enable_elogind=no)
 +if test x$enable_elogind = xyes; then
 +      PKG_CHECK_MODULES(ELOGIND, [libelogind >= 229.4], [have_elogind=yes], 
[have_elogind=no])
++else
++      have_elogind=no
 +fi
 +
 +dnl 
---------------------------------------------------------------------------
 +dnl --- Is systemd/sd-login.h, either from systemd or elogind, available?
 +dnl 
---------------------------------------------------------------------------
-+if test "x$have_systemd" != "xno" -o "x$have_elogind" != "xno" ; then
++if test -n "$has_systemdsystemunitdir" -o "x$have_elogind" != "xno" ; then
 +              AC_DEFINE(HAVE_SYSTEMD_SD_LOGIN_H,1,[Build systemd-login code])
 +fi
 +

diff --git a/app-admin/packagekit-base/packagekit-base-1.1.5-r1.ebuild 
b/app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild
similarity index 100%
rename from app-admin/packagekit-base/packagekit-base-1.1.5-r1.ebuild
rename to app-admin/packagekit-base/packagekit-base-1.1.5-r2.ebuild

Reply via email to