summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-extended/polkit/polkit/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch39
-rw-r--r--meta-oe/recipes-extended/polkit/polkit_0.111.bb1
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/polkit/polkit/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch b/meta-oe/recipes-extended/polkit/polkit/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
new file mode 100644
index 0000000000..b9334a8fdf
--- /dev/null
+++ b/meta-oe/recipes-extended/polkit/polkit/0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch
@@ -0,0 +1,39 @@
1From 56cadbc45c5ef98a7b775638d2109c4a09a58c06 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 22 Feb 2014 18:09:57 +0100
4Subject: [PATCH] configure.ac: Check only for libsystemd not libsystemd-login
5
6* they were merged into libsystemd in systemd-209
7
8Upstream-Status: Pending (it would need to be conditional on systemd version for upstream to accept this)
9
10Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11---
12 configure.ac | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index a7b0148..64d513d 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -196,7 +196,7 @@ AC_ARG_ENABLE([libsystemd-login],
20 [enable_libsystemd_login=auto])
21 if test "$enable_libsystemd_login" != "no"; then
22 PKG_CHECK_MODULES(LIBSYSTEMD_LOGIN,
23- [libsystemd-login],
24+ [libsystemd],
25 have_libsystemd_login=yes,
26 have_libsystemd_login=no)
27 if test "$have_libsystemd_login" = "yes"; then
28@@ -223,7 +223,7 @@ AS_IF([test "x$cross_compiling" != "xyes" ], [
29 AS_IF([test "$enable_libsystemd_login" = "no" ], [
30 AC_MSG_WARN([ConsoleKit requested but system appears to use systemd])
31 ], [
32- AC_MSG_ERROR([ConsoleKit autoconfigured, but systemd is in use (missing libsystemd-login pkg-config?)])
33+ AC_MSG_ERROR([ConsoleKit autoconfigured, but systemd is in use (missing libsystemd pkg-config?)])
34 ])
35 ])
36 ])
37--
381.8.5.3
39
diff --git a/meta-oe/recipes-extended/polkit/polkit_0.111.bb b/meta-oe/recipes-extended/polkit/polkit_0.111.bb
index 33101cf7b1..4614387055 100644
--- a/meta-oe/recipes-extended/polkit/polkit_0.111.bb
+++ b/meta-oe/recipes-extended/polkit/polkit_0.111.bb
@@ -20,6 +20,7 @@ PACKAGECONFIG[consolekit] = ",,,consolekit"
20PAM_SRC_URI = "file://polkit-1_pam.patch" 20PAM_SRC_URI = "file://polkit-1_pam.patch"
21SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \ 21SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
22 ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ 22 ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
23 file://0001-configure.ac-Check-only-for-libsystemd-not-libsystem.patch \
23" 24"
24 25
25SRC_URI[md5sum] = "81b116edf986d8e13502929a171f4e0d" 26SRC_URI[md5sum] = "81b116edf986d8e13502929a171f4e0d"