From 53f9c5255cb65bdc182cdc6340479239d3e5cb52 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Sun, 23 Nov 2014 00:29:31 +0100 Subject: [PATCH] libevent: Build with posix_error_mapper. --- dev-libs/libevent/libevent-2.0.21.recipe | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-libs/libevent/libevent-2.0.21.recipe b/dev-libs/libevent/libevent-2.0.21.recipe index e677584a8..113567b34 100644 --- a/dev-libs/libevent/libevent-2.0.21.recipe +++ b/dev-libs/libevent/libevent-2.0.21.recipe @@ -14,7 +14,7 @@ CHECKSUM_SHA256="22a530a8a5ba1cb9c080cba033206b17dacd21437762155c6d30ee6469f574f LICENSE="BSD (3-clause)" COPYRIGHT="2000-2007 Niels Provos, 2005 Nick Mathewson, and other contributors." -REVISION="5" +REVISION="6" ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86_gcc2 x86" @@ -72,6 +72,10 @@ BUILD() aclocal autoconf automake --add-missing + + export CFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" + export CXXFLAGS="-DB_USE_POSITIVE_POSIX_ERRORS" + export LDFLAGS="-lposix_error_mapper" runConfigure ./configure make $jobArgs }