View | Details | Raw Unified | Return to bug 232141
Collapse All | Expand All

(-)net-mgmt/nsca-ng/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	nsca-ng
4
PORTNAME=	nsca-ng
5
PORTVERSION=	1.4
5
PORTVERSION=	1.4
6
PORTREVISION=	1
6
CATEGORIES=	net-mgmt
7
CATEGORIES=	net-mgmt
7
MASTER_SITES=	https://www.nsca-ng.org/download/ http://www.nsca-ng.org/download/
8
MASTER_SITES=	https://www.nsca-ng.org/download/ http://www.nsca-ng.org/download/
8
9
(-)net-mgmt/nsca-ng/files/patch-src_common_tls.c (+20 lines)
Line 0 Link Here
1
--- src/common/tls.c.orig	2018-10-10 00:47:13 UTC
2
+++ src/common/tls.c
3
@@ -102,6 +102,7 @@
4
 #include <ev.h>
5
 #include <openssl/conf.h>
6
 #include <openssl/err.h>
7
+#include <openssl/opensslv.h>
8
 #include <openssl/ssl.h>
9
 
10
 #include "log.h"
11
@@ -419,7 +420,9 @@ initialize_openssl(const SSL_METHOD *method, const cha
12
 
13
 	(void)SSL_library_init();
14
 	SSL_load_error_strings();
15
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
16
 	(void)atexit(ERR_free_strings);
17
+#endif
18
 
19
 	/*
20
 	 * In earlier versions, we called

Return to bug 232141