diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-21 05:59:26 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2015-10-22 22:31:26 +0200 |
commit | 019597d1b004f8495c86d6643c52a692f7e402ad (patch) | |
tree | 0fbbcdea7455ce0e909b5715aa3d525f25a4e079 | |
parent | 26e2aca4359bc7cff080c8446a67b838a5026d15 (diff) |
fix compile of w3m
-rw-r--r-- | package/w3m/Makefile | 2 | ||||
-rw-r--r-- | package/w3m/patches/patch-url_c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/package/w3m/Makefile b/package/w3m/Makefile index 9c3218fea..bc97defc8 100644 --- a/package/w3m/Makefile +++ b/package/w3m/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= w3m PKG_VERSION:= 0.5.3 -PKG_RELEASE:= 3 +PKG_RELEASE:= 4 PKG_HASH:= e994d263f2fd2c22febfbe45103526e00145a7674a0fda79c822b97c2770a9e3 PKG_DESCR:= console web browser PKG_SECTION:= app/browser diff --git a/package/w3m/patches/patch-url_c b/package/w3m/patches/patch-url_c new file mode 100644 index 000000000..d7af97847 --- /dev/null +++ b/package/w3m/patches/patch-url_c @@ -0,0 +1,13 @@ +--- w3m-0.5.3.orig/url.c 2011-01-04 10:22:24.000000000 +0100 ++++ w3m-0.5.3/url.c 2015-10-20 08:40:22.000000000 +0200 +@@ -268,10 +268,6 @@ init_PRNG() + if (RAND_status()) + return; + if ((file = RAND_file_name(buffer, sizeof(buffer)))) { +-#ifdef USE_EGD +- if (RAND_egd(file) > 0) +- return; +-#endif + RAND_load_file(file, -1); + } + if (RAND_status()) |