diff options
Diffstat (limited to 'dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild')
-rw-r--r-- | dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild b/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild index 954b212ca422..5d3592da89dc 100644 --- a/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild +++ b/dev-perl/HTML-FormatExternal/HTML-FormatExternal-26.ebuild @@ -23,3 +23,14 @@ BDEPEND="${RDEPEND} dev-perl/Module-Build virtual/perl-ExtUtils-MakeMaker " + +src_prepare() { + # remove some test inputs that fail in w3m + # https://bugs.gentoo.org/904076 + sed -i -e 's/-###/-/' t/FormatExternal.t || \ + die "Couldn't replace -### test input" + sed -i -e 's/%57/-/' t/FormatExternal.t || \ + die "Couldn't replace %57 test input" + + eapply_user +} |