1 |
commit: dbdafe931121967cbf17f533f4aa3632abc6c755 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 8 07:45:03 2018 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 8 07:48:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdafe93 |
7 |
|
8 |
net-misc/ntp: fix libressl-2.8 patch |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch | 4 ++-- |
14 |
1 file changed, 2 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch b/net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch |
17 |
index 7ec2ee678b0..182fcefe88b 100644 |
18 |
--- a/net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch |
19 |
+++ b/net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch |
20 |
@@ -5,12 +5,12 @@ |
21 |
#define OpenSSL_version_num SSLeay |
22 |
#define OpenSSL_version SSLeay_version |
23 |
+ |
24 |
-+# if LIBRESSL_VERSION_NUMBER < 0x20800000L |
25 |
++# if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x20800000L |
26 |
#define X509_get0_notBefore X509_get_notBefore |
27 |
#define X509_getm_notBefore X509_get_notBefore |
28 |
#define X509_get0_notAfter X509_get_notAfter |
29 |
#define X509_getm_notAfter X509_get_notAfter |
30 |
-+#endif /* LIBRESSL_VERSION_NUMBER < 0x20800000L */ |
31 |
++#endif /* !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x20800000L */ |
32 |
|
33 |
/* ----------------------------------------------------------------- */ |
34 |
#endif /* OPENSSL_VERSION_NUMBER < v1.1.0 */ |