diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-14 09:15:29 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-07-14 09:19:56 +0200 |
commit | d43075710b57df9e9b1befda64fcc32f31e2935e (patch) | |
tree | f5403386beb271a32e8118bc9e88b321a1b2b00d /package | |
parent | 3e5b50a8a74a6f32e9eb4490529ac9c74b5e3670 (diff) | |
download | mtk-20170518-d43075710b57df9e9b1befda64fcc32f31e2935e.zip mtk-20170518-d43075710b57df9e9b1befda64fcc32f31e2935e.tar.gz mtk-20170518-d43075710b57df9e9b1befda64fcc32f31e2935e.tar.bz2 |
mbedtls: fix missing mbedtls_time_t bug in mbedtls 2.3.0
This backports a commit from mbedtls current git which adds missing
include for platform.h.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'package')
-rw-r--r-- | package/libs/mbedtls/Makefile | 2 | ||||
-rw-r--r-- | package/libs/mbedtls/patches/001-Fixes_missing_dependency_in_ssl.patch | 21 |
2 files changed, 22 insertions, 1 deletions
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile index 20374ad..816f470 100644 --- a/package/libs/mbedtls/Makefile +++ b/package/libs/mbedtls/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mbedtls PKG_VERSION:=2.3.0 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_USE_MIPS16:=0 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz diff --git a/package/libs/mbedtls/patches/001-Fixes_missing_dependency_in_ssl.patch b/package/libs/mbedtls/patches/001-Fixes_missing_dependency_in_ssl.patch new file mode 100644 index 0000000..0090885 --- /dev/null +++ b/package/libs/mbedtls/patches/001-Fixes_missing_dependency_in_ssl.patch @@ -0,0 +1,21 @@ +From 7247f99b3e068a2b90b7776a2cdd438fddb7a38b Mon Sep 17 00:00:00 2001 +From: James Cowgill <james410@cowgill.org.uk> +Date: Mon, 11 Jul 2016 13:57:05 +0100 +Subject: [PATCH] Fixes missing dependency in ss.h on platform.h + +Fixes #522 - 'mbedtls_time_t does not name a type in ssl.h' +--- + include/mbedtls/ssl.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/include/mbedtls/ssl.h ++++ b/include/mbedtls/ssl.h +@@ -54,7 +54,7 @@ + #endif + + #if defined(MBEDTLS_HAVE_TIME) +-#include <time.h> ++#include "platform.h" + #endif + + /* |