From 8ee43ba4e036db70fff258f3edb2f0335385e93f Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Sun, 4 Dec 2016 23:04:12 +0800 Subject: www-client/w3m: fix USE="-ssl" err, missing Gentoo-Bug: 601498 Package-Manager: portage-2.3.2 --- www-client/w3m/files/w3m-0.5.3-fix-missing-time.patch | 13 +++++++++++++ www-client/w3m/w3m-0.5.3-r9.ebuild | 8 +++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 www-client/w3m/files/w3m-0.5.3-fix-missing-time.patch (limited to 'www-client/w3m') diff --git a/www-client/w3m/files/w3m-0.5.3-fix-missing-time.patch b/www-client/w3m/files/w3m-0.5.3-fix-missing-time.patch new file mode 100644 index 00000000000..03efd85d653 --- /dev/null +++ b/www-client/w3m/files/w3m-0.5.3-fix-missing-time.patch @@ -0,0 +1,13 @@ +diff --git a/html.h b/html.h +index c490655..2a9a431 100644 +--- a/html.h ++++ b/html.h +@@ -8,6 +8,8 @@ + #include + #endif /* USE_SSL */ + ++#include ++ + #define StrUFgets(f) StrISgets((f)->stream) + #define StrmyUFgets(f) StrmyISgets((f)->stream) + #define UFgetc(f) ISgetc((f)->stream) diff --git a/www-client/w3m/w3m-0.5.3-r9.ebuild b/www-client/w3m/w3m-0.5.3-r9.ebuild index a0f3e0b789c..bc191ce7567 100644 --- a/www-client/w3m/w3m-0.5.3-r9.ebuild +++ b/www-client/w3m/w3m-0.5.3-r9.ebuild @@ -34,11 +34,13 @@ RDEPEND=">=sys-libs/ncurses-5.2-r3:0= DEPEND="${RDEPEND} virtual/pkgconfig" -S="${WORKDIR}"/${MY_P} +PATCHES=( + "${FILESDIR}/${P}-underlinking.patch" + "${FILESDIR}/${P}-fix-missing-time.patch" +) +S="${WORKDIR}"/${MY_P} src_prepare() { - epatch "${FILESDIR}/${PN}-0.5.3-underlinking.patch" - default ecvs_clean sed -i -e "/^AR=/s/ar/$(tc-getAR)/" {.,w3mimg,libwc}/Makefile.in || die -- cgit v1.2.1