diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2018-12-07 23:45:03 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2018-12-07 23:48:56 -0800 |
commit | dbdafe931121967cbf17f533f4aa3632abc6c755 (patch) | |
tree | 78466a31ce7522e8b02d4ff5cdd3b1de8a952fd1 /net-misc/ntp | |
parent | dev-ruby/rbpdf: add 1.19.6 (diff) | |
download | gentoo-dbdafe931121967cbf17f533f4aa3632abc6c755.tar.gz gentoo-dbdafe931121967cbf17f533f4aa3632abc6c755.tar.bz2 gentoo-dbdafe931121967cbf17f533f4aa3632abc6c755.zip |
net-misc/ntp: fix libressl-2.8 patch
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'net-misc/ntp')
-rw-r--r-- | net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch | 4 |
1 files changed, 2 insertions, 2 deletions
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 index 7ec2ee678b0e..182fcefe88b4 100644 --- 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 @@ -5,12 +5,12 @@ #define OpenSSL_version_num SSLeay #define OpenSSL_version SSLeay_version + -+# if LIBRESSL_VERSION_NUMBER < 0x20800000L ++# if !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x20800000L #define X509_get0_notBefore X509_get_notBefore #define X509_getm_notBefore X509_get_notBefore #define X509_get0_notAfter X509_get_notAfter #define X509_getm_notAfter X509_get_notAfter -+#endif /* LIBRESSL_VERSION_NUMBER < 0x20800000L */ ++#endif /* !defined(LIBRESSL_VERSION_NUMBER) || LIBRESSL_VERSION_NUMBER < 0x20800000L */ /* ----------------------------------------------------------------- */ #endif /* OPENSSL_VERSION_NUMBER < v1.1.0 */ |