summaryrefslogtreecommitdiffstats
path: root/meta-app-framework/recipes-security/security-manager/security-manager/0001-systemd-stop-using-compat-libs.patch
blob: 91ce819631409caa700b6a8d15c4bec85b0465a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
From 3d9d1d83fe298a364f51ad752c17aad461beded3 Mon Sep 17 00:00:00 2001
From: Patrick Ohly <patrick.ohly@intel.com>
Date: Tue, 24 Mar 2015 04:54:03 -0700
Subject: [PATCH 01/14] systemd: stop using compat libs

libsystemd-journal and libsystemd-daemon are considered obsolete
in systemd since 2.09 and may not be available (not compiled
by default).

The code works fine with the current libsystemd, so just
use that.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Upstream-Status: Submitted (https://github.com/Samsung/security-manager/pull/1
---
 src/common/CMakeLists.txt | 2 +-
 src/server/CMakeLists.txt | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 2da9c3e..968c7c1 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -3,7 +3,7 @@ SET(COMMON_VERSION ${COMMON_VERSION_MAJOR}.0.2)
 
 PKG_CHECK_MODULES(COMMON_DEP
     REQUIRED
-    libsystemd-journal
+    libsystemd
     libsmack
     db-util
     cynara-admin
diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
index 753eb96..6849d76 100644
--- a/src/server/CMakeLists.txt
+++ b/src/server/CMakeLists.txt
@@ -1,6 +1,6 @@
 PKG_CHECK_MODULES(SERVER_DEP
     REQUIRED
-    libsystemd-daemon
+    libsystemd
     )
 
 FIND_PACKAGE(Boost REQUIRED)
-- 
2.21.0