summaryrefslogtreecommitdiff
path: root/net/ntp/files/patch-libntp_libssl__compat.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2016-12-15 20:22:14 +0000
committerCy Schubert <cy@FreeBSD.org>2016-12-15 20:22:14 +0000
commitb49c1750b8c300e64ea14dd28b442cac5d5530cd (patch)
treee8bd4b4167e29486ae8e850803ebec5004f14a9e /net/ntp/files/patch-libntp_libssl__compat.c
parentemulators/citra: update to s20161215 (diff)
Fix build with LibreSSL.
PR: 215323 Submitted by: naddy
Diffstat (limited to 'net/ntp/files/patch-libntp_libssl__compat.c')
-rw-r--r--net/ntp/files/patch-libntp_libssl__compat.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntp/files/patch-libntp_libssl__compat.c b/net/ntp/files/patch-libntp_libssl__compat.c
new file mode 100644
index 000000000000..14117da9c86e
--- /dev/null
+++ b/net/ntp/files/patch-libntp_libssl__compat.c
@@ -0,0 +1,11 @@
+--- libntp/libssl_compat.c.orig 2016-11-21 12:28:40 UTC
++++ libntp/libssl_compat.c
+@@ -23,7 +23,7 @@
+ #include "ntp_types.h"
+
+ /* ----------------------------------------------------------------- */
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
+ /* ----------------------------------------------------------------- */
+
+ #include "libssl_compat.h"