summaryrefslogtreecommitdiff
path: root/dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild
diff options
context:
space:
mode:
authorMatthias Hauber <crito@fnordpipe.org>2018-10-01 23:31:27 +0200
committerMichał Górny <mgorny@gentoo.org>2018-10-06 09:11:00 +0200
commit762dee6c53a540946e0c270d7d585464086782e5 (patch)
tree8b7d64e5574ac42efccbf127f1730931716d9958 /dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild
parentc7cb35a6deb16e24e672a2dd010b8bf422ac3c49 (diff)
downloadgentoo-762dee6c53a540946e0c270d7d585464086782e5.tar.gz
gentoo-762dee6c53a540946e0c270d7d585464086782e5.tar.bz2
gentoo-762dee6c53a540946e0c270d7d585464086782e5.zip
dev-lua/lua-openssl: fix libressl build
backports libressl compat from master branch and disables cms, sm2 and srp. Additionally set dependency to libressl < 2.7.0 because there are changes in the libressl-2.7 api that raises a lot of incompatible pointer types. Closes: https://bugs.gentoo.org/667390 Signed-off-by: Matthias Hauber <crito@fnordpipe.org> Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/10039
Diffstat (limited to 'dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild')
-rw-r--r--dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild b/dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild
index 7f3d2b11e5e9..564518d7fb1a 100644
--- a/dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild
+++ b/dev-lua/lua-openssl/lua-openssl-0.7.3.ebuild
@@ -21,13 +21,15 @@ IUSE="libressl luajit"
RDEPEND="
luajit? ( dev-lang/luajit:2 )
!luajit? ( >=dev-lang/lua-5.1:0 )
- libressl? ( dev-libs/libressl:0= )
+ libressl? ( <dev-libs/libressl-2.7.0:0= )
!libressl? ( dev-libs/openssl:0=[-bindist] )
!dev-lua/luaossl
"
DEPEND="${RDEPEND}
virtual/pkgconfig"
+PATCHES=("${FILESDIR}/0001-fix-libressl-compat.patch")
+
src_unpack() {
unpack "${P}.tar.gz"
pushd "${WORKDIR}/${P}/deps" > /dev/null || die