summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch31
-rw-r--r--meta-networking/recipes-support/chrony/chrony_4.8.bb (renamed from meta-networking/recipes-support/chrony/chrony_4.7.bb)5
2 files changed, 1 insertions, 35 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch b/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
deleted file mode 100644
index 5e2bc64af3..0000000000
--- a/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 11ec10cdb5ab4b94c5999e018a9c854419997761 Mon Sep 17 00:00:00 2001
2From: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
3Date: Wed, 10 Apr 2019 03:18:17 +0200
4Subject: [PATCH] Fix compilation with musl
5
6Fixes:
7../hash_intmd5.c:58: undefined reference to `MIN'
8
9Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
10---
11Upstream-Status: Pending
12
13 hash_intmd5.c | 2 ++
14 1 file changed, 2 insertions(+)
15
16diff --git a/hash_intmd5.c b/hash_intmd5.c
17index 49da1cf..47efe4c 100644
18--- a/hash_intmd5.c
19+++ b/hash_intmd5.c
20@@ -33,6 +33,8 @@
21
22 #include "md5.c"
23
24+#include <sys/param.h>
25+
26 static MD5_CTX ctx;
27
28 int
29--
302.17.1
31
diff --git a/meta-networking/recipes-support/chrony/chrony_4.7.bb b/meta-networking/recipes-support/chrony/chrony_4.8.bb
index 0af542869e..826bffc323 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.7.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.8.bb
@@ -36,10 +36,7 @@ SRC_URI = "https://chrony-project.org/releases/chrony-${PV}.tar.gz \
36 file://arm_eabi.patch \ 36 file://arm_eabi.patch \
37" 37"
38 38
39SRC_URI:append:libc-musl = " \ 39SRC_URI[sha256sum] = "33ea8eb2a4daeaa506e8fcafd5d6d89027ed6f2f0609645c6f149b560d301706"
40 file://0001-Fix-compilation-with-musl.patch \
41"
42SRC_URI[sha256sum] = "c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b"
43 40
44DEPENDS = "pps-tools" 41DEPENDS = "pps-tools"
45 42