mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
transmission: Build with posix_error_mapper.
Fixes falling into endless loops when connection errors occured.
This commit is contained in:
@@ -13,7 +13,7 @@ LICENSE="Transmission
|
||||
COPYRIGHT="2005-2013. All code is copyrighted by the respective authors."
|
||||
SRC_URI="https://transmission.cachefly.net/transmission-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="a9fc1936b4ee414acc732ada04e84339d6755cd0d097bcbd11ba2cfc540db9eb"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
@@ -66,6 +66,9 @@ BUILD_PREREQUIRES="
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS"
|
||||
export CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS"
|
||||
export LDFLAGS="-lposix_error_mapper"
|
||||
runConfigure ./configure --without-gtk --datadir=$dataDir
|
||||
make
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user