Fix runtime with OpenSSL without MD4

- Bump PORTREVISION for package change

Obtained from:	0dc9a80199
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2019-05-31 10:27:54 +00:00
parent 84301a088e
commit 689c2d7d37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503135
2 changed files with 16 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= curl
PORTVERSION= 7.65.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= ftp net www
MASTER_SITES= https://curl.haxx.se/download/ \
LOCAL/sunpoet

View File

@ -0,0 +1,15 @@
Obtained from: https://github.com/curl/curl/commit/0dc9a8019962d31787c4929d36de6817ae3090e7
--- lib/md4.c.orig 2019-05-20 08:13:23 UTC
+++ lib/md4.c
@@ -38,6 +38,10 @@
#include "curl_setup.h"
+#ifdef USE_OPENSSL
+#include <openssl/opensslconf.h>
+#endif
+
/* The NSS, OS/400, and when not included, OpenSSL and mbed TLS crypto
* libraries do not provide the MD4 hash algorithm, so we use this
* implementation of it */