summaryrefslogtreecommitdiff
path: root/data/wget
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-10-12 16:13:44 -1000
committerSam Bingner <sam@bingner.com>2018-10-12 16:13:44 -1000
commit512e06a48ca109c4a2003643a7dae96745d67f7c (patch)
tree25be780b352c5da78850f9646ca9ab73cab062c1 /data/wget
parent8d0b09ed02097b976fb1996e3f9102f3130ce16e (diff)
Update wget
Diffstat (limited to 'data/wget')
-rw-r--r--data/wget/localtime-clobber.diff12
-rw-r--r--data/wget/make.sh2
2 files changed, 13 insertions, 1 deletions
diff --git a/data/wget/localtime-clobber.diff b/data/wget/localtime-clobber.diff
new file mode 100644
index 000000000..6052820a4
--- /dev/null
+++ b/data/wget/localtime-clobber.diff
@@ -0,0 +1,12 @@
+diff -ur wget-1.19.5/lib/localtime-buffer.c wget-1.19.5+iPhone/lib/localtime-buffer.c
+--- wget-1.19.5/lib/localtime-buffer.c 2018-01-19 11:19:16.000000000 -1000
++++ wget-1.19.5+iPhone/lib/localtime-buffer.c 2018-09-15 12:53:52.000000000 -1000
+@@ -23,6 +23,8 @@
+ #include "localtime-buffer.h"
+
+ #if GETTIMEOFDAY_CLOBBERS_LOCALTIME || TZSET_CLOBBERS_LOCALTIME
++#undef localtime
++#undef gmtime
+
+ static struct tm tm_zero_buffer;
+ struct tm *localtime_buffer_addr = &tm_zero_buffer;
diff --git a/data/wget/make.sh b/data/wget/make.sh
index 0c19dae88..8cd39ba67 100644
--- a/data/wget/make.sh
+++ b/data/wget/make.sh
@@ -1,4 +1,4 @@
pkg:setup
pkg:configure --with-ssl=openssl --with-libssl-prefix="$(PKG_DEST_ openssl)" --without-libpsl gl_cv_func_unlink_honors_slashes=yes
-make
+pkg:make
pkg:install