Gentoo Archives: gentoo-proxy-maint

From: "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>
To: gentoo-proxy-maint@l.g.o
Cc: "Haelwenn (lanodan) Monnier" <contact@×××××××××.me>
Subject: [gentoo-proxy-maint] [PATCH 2/2] app-editors/vis: Respect CC and CFLAGS in tests
Date: Sun, 10 May 2020 21:38:00
Message-Id: 20200510213815.20041-2-contact@hacktivis.me
In Reply to: [gentoo-proxy-maint] [PATCH 1/2] app-editors/vis: Add -fcommon by "Haelwenn (lanodan) Monnier"
1 Closes: https://bugs.gentoo.org/722014
2 Signed-off-by: Haelwenn (lanodan) Monnier <contact@×××××××××.me>
3 ---
4 app-editors/vis/vis-0.5.ebuild | 3 +++
5 1 file changed, 3 insertions(+)
6
7 diff --git a/app-editors/vis/vis-0.5.ebuild b/app-editors/vis/vis-0.5.ebuild
8 index ffaeafaa266..e7cf08742d4 100644
9 --- a/app-editors/vis/vis-0.5.ebuild
10 +++ b/app-editors/vis/vis-0.5.ebuild
11 @@ -32,6 +32,9 @@ src_prepare() {
12 if ! type -P vim &>/dev/null; then
13 sed -i 's/.*vim.*//' test/Makefile || die
14 fi
15 +
16 + # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22
17 + sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die
18 fi
19
20 sed -i 's|STRIP?=.*|STRIP=true|' Makefile || die
21 --
22 2.26.2