mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
www-client/w3m: fix USE="-ssl" err, missing <time.h>
Gentoo-Bug: 601498 Package-Manager: portage-2.3.2
This commit is contained in:
@@ -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 <openssl/ssl.h>
|
||||
#endif /* USE_SSL */
|
||||
|
||||
+#include <time.h>
|
||||
+
|
||||
#define StrUFgets(f) StrISgets((f)->stream)
|
||||
#define StrmyUFgets(f) StrmyISgets((f)->stream)
|
||||
#define UFgetc(f) ISgetc((f)->stream)
|
||||
@@ -34,11 +34,13 @@ RDEPEND=">=sys-libs/ncurses-5.2-r3:0=
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user