summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2019-04-10 03:36:24 +0200
committerKhem Raj <raj.khem@gmail.com>2019-04-11 11:02:28 -0700
commitf035da4c3c8ea254dd85a707489b21783cf32b4d (patch)
tree71ca15ebffc438465bfbde36f273d0d91f6ea679 /meta-networking/recipes-support
parenta12a37659db90a5534349f81fbe3744431f75b1d (diff)
downloadmeta-openembedded-f035da4c3c8ea254dd85a707489b21783cf32b4d.tar.gz
chrony: update to 3.4
Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support')
-rw-r--r--meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch29
-rw-r--r--meta-networking/recipes-support/chrony/chrony_3.4.bb (renamed from meta-networking/recipes-support/chrony/chrony_3.3.bb)9
2 files changed, 36 insertions, 2 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
new file mode 100644
index 000000000..17b635352
--- /dev/null
+++ b/meta-networking/recipes-support/chrony/chrony/0001-Fix-compilation-with-musl.patch
@@ -0,0 +1,29 @@
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---
11 hash_intmd5.c | 2 ++
12 1 file changed, 2 insertions(+)
13
14diff --git a/hash_intmd5.c b/hash_intmd5.c
15index 49da1cf..47efe4c 100644
16--- a/hash_intmd5.c
17+++ b/hash_intmd5.c
18@@ -33,6 +33,8 @@
19
20 #include "md5.c"
21
22+#include <sys/param.h>
23+
24 static MD5_CTX ctx;
25
26 int
27--
282.17.1
29
diff --git a/meta-networking/recipes-support/chrony/chrony_3.3.bb b/meta-networking/recipes-support/chrony/chrony_3.4.bb
index 2586370fa..f6898c0b7 100644
--- a/meta-networking/recipes-support/chrony/chrony_3.3.bb
+++ b/meta-networking/recipes-support/chrony/chrony_3.4.bb
@@ -35,8 +35,13 @@ SRC_URI = "https://download.tuxfamily.org/chrony/chrony-${PV}.tar.gz \
35 file://chronyd \ 35 file://chronyd \
36 file://arm_eabi.patch \ 36 file://arm_eabi.patch \
37" 37"
38SRC_URI[md5sum] = "81ab62cf5d60b4b3fa8cd2c1b267ffd9" 38
39SRC_URI[sha256sum] = "0d1fb2d5875032f2d5a86f3770374c87ee4c941916f64171e81f7684f2a73128" 39SRC_URI_append_libc-musl = " \
40 file://0001-Fix-compilation-with-musl.patch \
41"
42
43SRC_URI[md5sum] = "7170e750469c198fc6784047d6f71144"
44SRC_URI[sha256sum] = "af77e47c2610a7e55c8af5b89a8aeff52d9a867dd5983d848b52d374bc0e6b9f"
40 45
41DEPENDS = "pps-tools" 46DEPENDS = "pps-tools"
42 47