From: Thomas Beierlein Date: Sun, 5 Aug 2018 07:45:12 +0000 (+0200) Subject: app-backup/bacula: Add patch to work with >=dev-libs/libressl-2.7 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=75ad47ec2124ff3e8d4ddd010e89b65958b3a4d9;p=gentoo.git app-backup/bacula: Add patch to work with >=dev-libs/libressl-2.7 Apply different patches according to dev-libs/libressl version (<2.7 and >=2.7) installed. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/655520 Package-Manager: Portage-2.3.44, Repoman-2.3.10 --- diff --git a/app-backup/bacula/bacula-9.0.6-r3.ebuild b/app-backup/bacula/bacula-9.0.6-r3.ebuild index f30acaa0b53f..0c4d61e2a766 100644 --- a/app-backup/bacula/bacula-9.0.6-r3.ebuild +++ b/app-backup/bacula/bacula-9.0.6-r3.ebuild @@ -169,7 +169,13 @@ src_prepare() { chmod 755 src/qt-console/.libs/bat || die # fix wrong handling of libressl version - eapply -p0 "${FILESDIR}"/9.0.6/${PN}-9.0.6-libressl.patch + # needs separate handling for =libressl2.7 + # (see bug #655520) + if has_version "= 0x10100000L) ++#if ( (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER) ) + DEFINE_STACK_OF(SignerInfo); + DEFINE_STACK_OF(RecipientInfo); + #else