diff options
author | David P <megver83@parabola.nu> | 2019-11-12 14:53:37 -0300 |
---|---|---|
committer | David P <megver83@parabola.nu> | 2019-11-12 14:53:37 -0300 |
commit | 5a880a90187a2615623e36cf2cc74f14734783be (patch) | |
tree | 948d4fdc315abf218e8edd06d06bc018464c1a87 /nonsystemd/polkit/elogind-configure-fix.patch | |
parent | 88ecfd6d900ecc6f038aa7b785995e1bb9d777f9 (diff) | |
download | abslibre-5a880a90187a2615623e36cf2cc74f14734783be.tar.gz abslibre-5a880a90187a2615623e36cf2cc74f14734783be.tar.bz2 abslibre-5a880a90187a2615623e36cf2cc74f14734783be.zip |
addpkg: nonsystemd/polkit 0.116-3.nonsystemd1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'nonsystemd/polkit/elogind-configure-fix.patch')
-rw-r--r-- | nonsystemd/polkit/elogind-configure-fix.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nonsystemd/polkit/elogind-configure-fix.patch b/nonsystemd/polkit/elogind-configure-fix.patch new file mode 100644 index 000000000..81db3becc --- /dev/null +++ b/nonsystemd/polkit/elogind-configure-fix.patch @@ -0,0 +1,28 @@ +From 08bb656496cd3d6213bbe9473f63f2d4a110da6e Mon Sep 17 00:00:00 2001 +From: Rasmus Thomsen <cogitri@exherbo.org> +Date: Wed, 11 Apr 2018 13:14:14 +0200 +Subject: [PATCH] configure: fix elogind support + +HAVE_LIBSYSTEMD is used to determine which source files to use. +We have to check if either have_libsystemd or have_libelogind is +true, as both of these need the source files which are used when +HAVE_LIBSYSTEMD is true. +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index 36df239..da47ecb 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -221,7 +221,7 @@ AS_IF([test "x$cross_compiling" != "xyes" ], [ + + AC_SUBST(LIBSYSTEMD_CFLAGS) + AC_SUBST(LIBSYSTEMD_LIBS) +-AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes"], [Using libsystemd]) ++AM_CONDITIONAL(HAVE_LIBSYSTEMD, [test "$have_libsystemd" = "yes" || test "$have_libelogind" = "yes" ], [Using libsystemd]) + + dnl --------------------------------------------------------------------------- + dnl - systemd unit / service files +-- +2.17.0 |