From ea73decb83f77bbf8a73ffc5004bd762c576497a Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Sun, 7 Aug 2022 00:30:01 +0200 Subject: app-editors/vis: Fix test with USE=-native-symlinks Signed-off-by: Haelwenn (lanodan) Monnier Signed-off-by: Joonas Niilola --- app-editors/vis/vis-0.7-r1.ebuild | 3 +++ app-editors/vis/vis-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) (limited to 'app-editors') diff --git a/app-editors/vis/vis-0.7-r1.ebuild b/app-editors/vis/vis-0.7-r1.ebuild index 46330e4e437a..e400f418df91 100644 --- a/app-editors/vis/vis-0.7-r1.ebuild +++ b/app-editors/vis/vis-0.7-r1.ebuild @@ -52,6 +52,9 @@ src_prepare() { # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22 sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die + # https://github.com/martanne/vis-test/pull/29 + sed -i 's;cpp -P;${CPP:-cpp} -P;' test/vim/test.sh || die + # https://github.com/martanne/vis-test/issues/27 a Werror clone sed -i 's;|| strstr(output, "warning");;' test/core/ccan-config.c || die fi diff --git a/app-editors/vis/vis-9999.ebuild b/app-editors/vis/vis-9999.ebuild index 46330e4e437a..e400f418df91 100644 --- a/app-editors/vis/vis-9999.ebuild +++ b/app-editors/vis/vis-9999.ebuild @@ -52,6 +52,9 @@ src_prepare() { # https://bugs.gentoo.org/722014 https://github.com/martanne/vis-test/pull/22 sed -i 's;./ccan-config > config.h;./ccan-config "${CC}" ${CFLAGS} > config.h;' test/core/Makefile || die + # https://github.com/martanne/vis-test/pull/29 + sed -i 's;cpp -P;${CPP:-cpp} -P;' test/vim/test.sh || die + # https://github.com/martanne/vis-test/issues/27 a Werror clone sed -i 's;|| strstr(output, "warning");;' test/core/ccan-config.c || die fi -- cgit v1.2.3-65-gdbad