From 66114f31be50f71ced25d41f61538974009264cf Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 23 Nov 2014 00:30:12 +0100 Subject: [PATCH] transmission: Build with posix_error_mapper. Fixes falling into endless loops when connection errors occured. --- net-p2p/transmission/transmission-2.84.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-p2p/transmission/transmission-2.84.recipe b/net-p2p/transmission/transmission-2.84.recipe index 0c0a6274d..0d4bde749 100644 --- a/net-p2p/transmission/transmission-2.84.recipe +++ b/net-p2p/transmission/transmission-2.84.recipe @@ -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 }