transmission: Build with posix_error_mapper.

Fixes falling into endless loops when connection errors occured.
This commit is contained in:
Michael Lotz
2014-11-23 00:30:12 +01:00
parent 53f9c5255c
commit 66114f31be

View File

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