www/elinks: fix build with CSS option on
- add upstream patch to support libcss 0.9.2 and libdom 0.4.2
- appease stage-qa and add libwapcaplet to LIB_DEPENDS
- also address some LIB_DEPENDS needed or no longer needed (also found by stage-qa):
- libintl.so is not directly used by elinks, so change USES=gettext to USES=gettext-runtime:build
- nspr is no longer needed by elinks in 0.17.0 (or perhaps earlier)
- libxml++ is no longer needed by elinks in 0.17.0 (or perhaps earlier)
- libmozjs should have been a LIB_DEPENDS item (with SPIDERMONKEY on) - add it
- gettext-tools is also needed (only a build time dependency by default) as msgfmt is invoked during the build.
- option SPIDERMONKEY now depends on option CSS
PR: 281215
MFH: 2024Q3
Approved by: jailbird@fdf.net (maintainer)
(cherry picked from commit 29a794c2b8900c8a650dc67e8b138d4e9e470a24)