media-gfx/iscan: Be more specific about ignoring warnings
authorMarcin Deranek <marcin.deranek@booking.com>
Sun, 10 May 2020 20:20:47 +0000 (22:20 +0200)
committerJoonas Niilola <juippis@gentoo.org>
Sun, 17 May 2020 11:28:40 +0000 (14:28 +0300)
Closes: https://bugs.gentoo.org/711416
Signed-off-by: Marcin Deranek <marcin.deranek@slonko.net>
Closes: https://github.com/gentoo/gentoo/pull/15741
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
media-gfx/iscan/iscan-3.62.0.ebuild

index f01a67d24171742d74a7385cdd725dfd271cafa6..7f8e4fae37b88b83f932141dd31532113ab6299b 100644 (file)
@@ -43,7 +43,7 @@ src_prepare() {
        rm -r upstream/boost || die
        # Workaround for deprecation warnings:
        # https://gitlab.com/utsushi/utsushi/issues/90
-       sed -e 's|-Werror||g' -i configure.ac || die
+       sed -e 's|=-Werror|="-Werror -Wno-error=deprecated-declarations"|g' -i configure.ac || die
        eautoreconf
 }