summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/w3m/Makefile2
-rw-r--r--package/w3m/patches/patch-url_c13
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())