From 1530e49713c22420b965e2e2df7600a1fd8943c7 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 6 Feb 2017 21:11:15 +0100 Subject: [PATCH] dev-libs/libassuan: fix configure standards conflict on Solaris Package-Manager: Portage-2.3.2-prefix, Repoman-2.3.1 --- dev-libs/libassuan/libassuan-2.4.3-r1.ebuild | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild index 5056ccf653ca2..ab46bc220746e 100644 --- a/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild +++ b/dev-libs/libassuan/libassuan-2.4.3-r1.ebuild @@ -25,6 +25,15 @@ src_prepare() { # for Solaris .so elibtoolize + + if [[ ${CHOST} == *-solaris* ]] ; then + # fix standards conflict + sed -i \ + -e '/_XOPEN_SOURCE/s/500/600/' \ + -e 's/_XOPEN_SOURCE_EXTENDED/_NO&/' \ + -e 's/__EXTENSIONS__/_NO&/' \ + configure || die + fi } src_configure() {