1 |
commit: 032ff4acf3b23136f91f857252ff14abbf724aef |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 31 21:08:57 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 31 21:08:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=032ff4ac |
7 |
|
8 |
www-client/elinks: fix tests, add mujs support |
9 |
|
10 |
Closes: https://bugs.gentoo.org/797427 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
profiles/base/package.use.mask | 4 ---- |
14 |
www-client/elinks/elinks-0.16.0.ebuild | 8 ++++++-- |
15 |
2 files changed, 6 insertions(+), 6 deletions(-) |
16 |
|
17 |
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask |
18 |
index 9b064ee72495..2372e6bf2f5e 100644 |
19 |
--- a/profiles/base/package.use.mask |
20 |
+++ b/profiles/base/package.use.mask |
21 |
@@ -11,10 +11,6 @@ |
22 |
# fragility to Portage which relies on pax-utils' scanelf heavily. bug #815877. |
23 |
app-misc/pax-utils seccomp |
24 |
|
25 |
-# Sam James <sam@g.o> (2022-12-29) |
26 |
-# Needs yet-unpackaged libxmlpp-5.0, bug #888898 |
27 |
-www-client/elinks javascript |
28 |
- |
29 |
# Ionen Wolkens <ionen@g.o> (2022-12-29) |
30 |
# Blocks eventual cleanup of <dev-util/glslang-1.3.231, and the same |
31 |
# functionality can be got through USE=shaderc without direct usage. |
32 |
|
33 |
diff --git a/www-client/elinks/elinks-0.16.0.ebuild b/www-client/elinks/elinks-0.16.0.ebuild |
34 |
index 4c021b32fc24..c6a436b48a77 100644 |
35 |
--- a/www-client/elinks/elinks-0.16.0.ebuild |
36 |
+++ b/www-client/elinks/elinks-0.16.0.ebuild |
37 |
@@ -24,8 +24,7 @@ LICENSE="GPL-2" |
38 |
SLOT="0" |
39 |
IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn" |
40 |
IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X xml zlib zstd" |
41 |
-# tests restricted for https://github.com/rkd77/elinks/issues/203 |
42 |
-RESTRICT="!test? ( test ) test" |
43 |
+RESTRICT="!test? ( test )" |
44 |
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )" |
45 |
|
46 |
RDEPEND=" |
47 |
@@ -65,6 +64,11 @@ BDEPEND=" |
48 |
virtual/pkgconfig |
49 |
" |
50 |
|
51 |
+PATCHES=( |
52 |
+ "${FILESDIR}"/${P}-fix-tests.patch |
53 |
+ "${FILESDIR}"/${PN}-0.16.0-fix-build-mujs.patch |
54 |
+) |
55 |
+ |
56 |
pkg_setup() { |
57 |
use lua && lua-single_pkg_setup |