libssh2: enable posix error mapper (#10339)

fixes #10336
This commit is contained in:
augiedoggie
2024-04-15 20:44:36 -06:00
committed by GitHub
parent 1888867b99
commit a3a6fd1207

View File

@@ -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
}