Bump buildroot to version 2018.02.8

This commit is contained in:
2018-12-05 23:24:57 +01:00
parent 32918ded24
commit 5598b1b762
238 changed files with 6567 additions and 2450 deletions

View File

@@ -0,0 +1,46 @@
From af1d16d90ff273413a57cd02689f4fb005403609 Mon Sep 17 00:00:00 2001
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
Date: Fri, 31 Aug 2018 18:46:56 +0200
Subject: [PATCH] ntp_isc_md5: rename EVP_MD_CTX into PTPD_EVP_MD_CTX
EVP_MD_CTX can conflict with openssl that defines a completely different
typedef with same name.
Since this typedef is used only twice in the entire ptpd,
substitute EVP_MD_CTX with PTPD_EVP_MD_CTX.
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
---
src/dep/ntpengine/ntp_isc_md5.c | 2 +-
src/dep/ntpengine/ntp_isc_md5.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/dep/ntpengine/ntp_isc_md5.c b/src/dep/ntpengine/ntp_isc_md5.c
index 850d004..3216de8 100644
--- a/src/dep/ntpengine/ntp_isc_md5.c
+++ b/src/dep/ntpengine/ntp_isc_md5.c
@@ -262,7 +262,7 @@ MD5authencrypt(
{
u_char digest[64];
u_int len;
- EVP_MD_CTX ctx;
+ PTPD_EVP_MD_CTX ctx;
pkt[length / 4] = htonl(keyid);
EVP_DigestInit(&ctx);
EVP_DigestUpdate(&ctx, (u_char *)key, (u_int)strlen(key));
diff --git a/src/dep/ntpengine/ntp_isc_md5.h b/src/dep/ntpengine/ntp_isc_md5.h
index fa6e2ee..236c0e4 100644
--- a/src/dep/ntpengine/ntp_isc_md5.h
+++ b/src/dep/ntpengine/ntp_isc_md5.h
@@ -80,7 +80,7 @@ isc_md5_final(isc_md5_t *ctx, unsigned char *digest);
# define MD5Init(c) isc_md5_init(c)
# define MD5Update(c, p, s) isc_md5_update(c, p, s)
# define MD5Final(d, c) isc_md5_final((c), (d)) /* swapped */
- typedef MD5_CTX EVP_MD_CTX;
+ typedef MD5_CTX PTPD_EVP_MD_CTX;
# define EVP_DigestInit(c) MD5Init(c)
# define EVP_DigestUpdate(c, p, s) MD5Update(c, p, s)
# define EVP_DigestFinal(c, d, pdl) \
--
2.14.4

View File

@@ -0,0 +1,28 @@
From 84157b11e8f27318f7291823c657f6313c3b60af Mon Sep 17 00:00:00 2001
From: Jan Breuer <jan.breuer@jaybee.cz>
Date: Tue, 12 Jul 2016 18:07:08 +0200
Subject: [PATCH] Solve issue #25 - Removing type U64 from net-snmp related
code
[Thomas: Backport to 2.3.1.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
src/dep/snmp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/dep/snmp.c b/src/dep/snmp.c
index 5c08aaa..3086c86 100644
--- a/src/dep/snmp.c
+++ b/src/dep/snmp.c
@@ -221,7 +221,7 @@ snmpHeaderIndexBest(struct snmpHeaderIndex *idx)
#define SNMP_LOCAL_VARIABLES \
static unsigned long long_ret; \
- static U64 counter64_ret; \
+ static struct counter64 counter64_ret; \
static uint32_t ipaddr; \
Integer64 bigint; \
struct snmpHeaderIndex idx; \
--
2.14.4