summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2022-08-07 00:30:01 +0200
committerJoonas Niilola <juippis@gentoo.org>2022-09-09 09:20:48 +0300
commitea73decb83f77bbf8a73ffc5004bd762c576497a (patch)
tree9e18c998f27dcfc706144a7439eb448a21099a77 /app-editors/vis
parentapp-editors/vis: Add lua 5.4 to LUA_COMPAT (diff)
downloadgentoo-ea73decb83f77bbf8a73ffc5004bd762c576497a.tar.gz
gentoo-ea73decb83f77bbf8a73ffc5004bd762c576497a.tar.bz2
gentoo-ea73decb83f77bbf8a73ffc5004bd762c576497a.zip
app-editors/vis: Fix test with USE=-native-symlinks
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/vis')
-rw-r--r--app-editors/vis/vis-0.7-r1.ebuild3
-rw-r--r--app-editors/vis/vis-9999.ebuild3
2 files changed, 6 insertions, 0 deletions
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