From 8dd83364dfc08075d5ac885ec61e7325361c0180 Mon Sep 17 00:00:00 2001 From: fbrosson Date: Sat, 24 Mar 2018 23:53:53 +0000 Subject: [PATCH] libxslt: configure.ac -= "-Wmissing-format-attribute" on x86_gcc2. --- dev-libs/libxslt/libxslt-1.1.32.recipe | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dev-libs/libxslt/libxslt-1.1.32.recipe b/dev-libs/libxslt/libxslt-1.1.32.recipe index 16be1ff3f..b91aca2d8 100644 --- a/dev-libs/libxslt/libxslt-1.1.32.recipe +++ b/dev-libs/libxslt/libxslt-1.1.32.recipe @@ -55,6 +55,15 @@ BUILD_PREREQUIRES=" cmd:sed " +PATCH() +{ + if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then + sed -i \ + -e "s/ -Wmissing-format-attribute//" \ + configure.ac + fi +} + BUILD() { autoreconf -fi