cd5c36a6a8ac6b943984ee0c93f5aa37b2e13aec
[AGL/meta-agl.git] / meta-security / recipes-security / security-manager / security-manager / systemd-stop-using-compat-libs.patch
1 From 8ec024d2adecb53029c6f1af2b95c93dfd43a7cb Mon Sep 17 00:00:00 2001
2 From: Patrick Ohly <patrick.ohly@intel.com>
3 Date: Tue, 24 Mar 2015 04:54:03 -0700
4 Subject: [PATCH] systemd: stop using compat libs
5
6 libsystemd-journal and libsystemd-daemon are considered obsolete
7 in systemd since 2.09 and may not be available (not compiled
8 by default).
9
10 The code works fine with the current libsystemd, so just
11 use that.
12
13 Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
14 Upstream-Status: Submitted (https://github.com/Samsung/security-manager/pull/1
15
16 ---
17  src/common/CMakeLists.txt | 2 +-
18  src/server/CMakeLists.txt | 2 +-
19  2 files changed, 2 insertions(+), 2 deletions(-)
20
21 diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
22 index 2da9c3e..968c7c1 100644
23 --- a/src/common/CMakeLists.txt
24 +++ b/src/common/CMakeLists.txt
25 @@ -3,7 +3,7 @@ SET(COMMON_VERSION ${COMMON_VERSION_MAJOR}.0.2)
26  
27  PKG_CHECK_MODULES(COMMON_DEP
28      REQUIRED
29 -    libsystemd-journal
30 +    libsystemd
31      libsmack
32      db-util
33      cynara-admin
34 diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
35 index 753eb96..6849d76 100644
36 --- a/src/server/CMakeLists.txt
37 +++ b/src/server/CMakeLists.txt
38 @@ -1,6 +1,6 @@
39  PKG_CHECK_MODULES(SERVER_DEP
40      REQUIRED
41 -    libsystemd-daemon
42 +    libsystemd
43      )
44  
45  FIND_PACKAGE(Boost REQUIRED)
46 -- 
47 2.1.4