summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors')
-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