commit: dbdafe931121967cbf17f533f4aa3632abc6c755 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> AuthorDate: Sat Dec 8 07:45:03 2018 +0000 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> CommitDate: Sat Dec 8 07:48:56 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdafe93
net-misc/ntp: fix libressl-2.8 patch Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> net-misc/ntp/files/ntp-4.2.8_p12-libressl-2.8.patch | 4 ++-- 1 file 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 7ec2ee678b0..182fcefe88b 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 */
