commit:     032ff4acf3b23136f91f857252ff14abbf724aef
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 31 21:08:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 31 21:08:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032ff4ac

www-client/elinks: fix tests, add mujs support

Closes: https://bugs.gentoo.org/797427
Signed-off-by: Sam James <sam <AT> gentoo.org>

 profiles/base/package.use.mask         | 4 ----
 www-client/elinks/elinks-0.16.0.ebuild | 8 ++++++--
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 9b064ee72495..2372e6bf2f5e 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -11,10 +11,6 @@
 # fragility to Portage which relies on pax-utils' scanelf heavily. bug #815877.
 app-misc/pax-utils seccomp
 
-# Sam James <[email protected]> (2022-12-29)
-# Needs yet-unpackaged libxmlpp-5.0, bug #888898
-www-client/elinks javascript
-
 # Ionen Wolkens <[email protected]> (2022-12-29)
 # Blocks eventual cleanup of <dev-util/glslang-1.3.231, and the same
 # functionality can be got through USE=shaderc without direct usage.

diff --git a/www-client/elinks/elinks-0.16.0.ebuild 
b/www-client/elinks/elinks-0.16.0.ebuild
index 4c021b32fc24..c6a436b48a77 100644
--- a/www-client/elinks/elinks-0.16.0.ebuild
+++ b/www-client/elinks/elinks-0.16.0.ebuild
@@ -24,8 +24,7 @@ LICENSE="GPL-2"
 SLOT="0"
 IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
 IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X 
xml zlib zstd"
-# tests restricted for https://github.com/rkd77/elinks/issues/203
-RESTRICT="!test? ( test ) test"
+RESTRICT="!test? ( test )"
 REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
 
 RDEPEND="
@@ -65,6 +64,11 @@ BDEPEND="
        virtual/pkgconfig
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-fix-tests.patch
+       "${FILESDIR}"/${PN}-0.16.0-fix-build-mujs.patch
+)
+
 pkg_setup() {
        use lua && lua-single_pkg_setup
 

Reply via email to