aboutsummaryrefslogtreecommitdiff
path: root/security/mbedtls
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2016-07-12 09:33:54 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2016-07-12 09:33:54 +0000
commit1a946409f68900ada75249d27416a80a2eb2f1db (patch)
treea7fa37714faebeab4d94e68f76621783c5164e47 /security/mbedtls
parent5c187769fe2fdc53658277ade888287910b65b6d (diff)
downloadports-1a946409f68900ada75249d27416a80a2eb2f1db.tar.gz
ports-1a946409f68900ada75249d27416a80a2eb2f1db.zip
Add patch from upstream commit 7247f99b3e068a2b90b7776a2cdd438fddb7a38b
to fix a header. Reported by: Gert Doering <gert@greenie.muc.de>
Notes
Notes: svn path=/head/; revision=418418
Diffstat (limited to 'security/mbedtls')
-rw-r--r--security/mbedtls/Makefile1
-rw-r--r--security/mbedtls/files/patch-include-mbedtls-ssl.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/mbedtls/Makefile b/security/mbedtls/Makefile
index 1976e6f1f443..ff4973aa14bb 100644
--- a/security/mbedtls/Makefile
+++ b/security/mbedtls/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mbedtls
PORTVERSION= 2.3.0
DISTVERSIONSUFFIX= -apache
+PORTREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://tls.mbed.org/download/
diff --git a/security/mbedtls/files/patch-include-mbedtls-ssl.h b/security/mbedtls/files/patch-include-mbedtls-ssl.h
new file mode 100644
index 000000000000..c6e57b873e95
--- /dev/null
+++ b/security/mbedtls/files/patch-include-mbedtls-ssl.h
@@ -0,0 +1,11 @@
+--- include/mbedtls/ssl.h.orig 2016-06-27 18:50:36 UTC
++++ include/mbedtls/ssl.h
+@@ -52,7 +52,7 @@
+ #endif
+
+ #if defined(MBEDTLS_HAVE_TIME)
+-#include <time.h>
++#include "platform.h"
+ #endif
+
+ /*