Created attachment 457974 [details, diff] ebuild.patch When built with USE=rosprite 'netsurf' needs 'librosprite' at run-time. Symptoms: --------- > netsurf netsurf: error while loading shared libraries: librosprite.so.0: cannot open shared object file: No such file or directory > ldd /usr/bin/netsurf | grep found librosprite.so.0 => not found Fix (also attached): -------------------- --- netsurf-3.5.ebuild.orig 2016-12-30 12:08:57.390154619 +0100 +++ netsurf-3.5.ebuild 2016-12-30 12:09:12.835154796 +0100 @@ -52,11 +52,11 @@ png? ( >=media-libs/libpng-1.2.51:0[${MULTILIB_USEDEP}] ) svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.3-r1[${MULTILIB_USEDEP}] ) !svgtiny? ( gnome-base/librsvg:2[${MULTILIB_USEDEP}] ) ) - webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )" + webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] ) + rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )" DEPEND="${RDEPEND} dev-libs/check[${MULTILIB_USEDEP}] - dev-perl/HTML-Parser - rosprite? ( >=media-libs/librosprite-0.1.2-r1[${MULTILIB_USEDEP}] )" + dev-perl/HTML-Parser" PATCHES=( "${FILESDIR}"/${PN}-3.4-CFLAGS.patch "${FILESDIR}"/${PN}-3.4-framebuffer-pkgconfig.patch
commit f82babb8c1793c61fcb41f56bdb05fc0f3b329da Author: Michael Weber <xmw@gentoo.org> Date: Tue Jan 24 02:14:59 2017 +0100 www-client/netsurf: Version bump (bug 602526, thanks Philipp Ammann), add support for GTK3, fix librosprite RDEPEND (bug 604128, thanks Another Mortal). Package-Manager: Portage-2.3.3, Repoman-2.3.1