From a3a6fd1207fbbf6f7ef7b4890849306ced7fbe0c Mon Sep 17 00:00:00 2001 From: augiedoggie Date: Mon, 15 Apr 2024 20:44:36 -0600 Subject: [PATCH] libssh2: enable posix error mapper (#10339) fixes #10336 --- net-libs/libssh2/libssh2-1.9.0.recipe | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/net-libs/libssh2/libssh2-1.9.0.recipe b/net-libs/libssh2/libssh2-1.9.0.recipe index fab9cee57..a3c9e3888 100644 --- a/net-libs/libssh2/libssh2-1.9.0.recipe +++ b/net-libs/libssh2/libssh2-1.9.0.recipe @@ -9,7 +9,7 @@ COPYRIGHT="2004-2007 Sara Golemon 2009-2014 Daniel Stenberg 2008, 2009 Simon Josefsson" LICENSE="BSD (3-clause)" -REVISION="2" +REVISION="3" SOURCE_URI="https://www.libssh2.org/download/libssh2-$portVersion.tar.gz" CHECKSUM_SHA256="d5fb8bd563305fd1074dda90bd053fb2d29fc4bce048d182f96eaa466dfadafd" PATCHES="libssh2-$portVersion.patchset" @@ -55,8 +55,10 @@ BUILD_PREREQUIRES=" BUILD() { - autoreconf -I m4 -f -i + CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" \ + LDFLAGS="-lposix_error_mapper -lnetwork" \ runConfigure ./configure + make $jobArgs }