Update github.com git:// SRC_URIs
[AGL/meta-agl.git] / meta-app-framework / recipes-security / security-manager / security-manager / 0001-systemd-stop-using-compat-libs.patch
1 From 3d9d1d83fe298a364f51ad752c17aad461beded3 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 01/14] 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  src/common/CMakeLists.txt | 2 +-
17  src/server/CMakeLists.txt | 2 +-
18  2 files changed, 2 insertions(+), 2 deletions(-)
19
20 diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
21 index 2da9c3e..968c7c1 100644
22 --- a/src/common/CMakeLists.txt
23 +++ b/src/common/CMakeLists.txt
24 @@ -3,7 +3,7 @@ SET(COMMON_VERSION ${COMMON_VERSION_MAJOR}.0.2)
25  
26  PKG_CHECK_MODULES(COMMON_DEP
27      REQUIRED
28 -    libsystemd-journal
29 +    libsystemd
30      libsmack
31      db-util
32      cynara-admin
33 diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
34 index 753eb96..6849d76 100644
35 --- a/src/server/CMakeLists.txt
36 +++ b/src/server/CMakeLists.txt
37 @@ -1,6 +1,6 @@
38  PKG_CHECK_MODULES(SERVER_DEP
39      REQUIRED
40 -    libsystemd-daemon
41 +    libsystemd
42      )
43  
44  FIND_PACKAGE(Boost REQUIRED)
45 -- 
46 2.21.0
47