]> git.pld-linux.org Git - packages/wget.git/blobdiff - wget-largefile_32bit.patch
patch to fix large files trimmed to 2G on arm and possibly other 32bit arches; rel 2
[packages/wget.git] / wget-largefile_32bit.patch
diff --git a/wget-largefile_32bit.patch b/wget-largefile_32bit.patch
new file mode 100644 (file)
index 0000000..68380e0
--- /dev/null
@@ -0,0 +1,28 @@
+From 90631a6fe54eabd9c80ede5c70bc916719e76cfe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
+Date: Sun, 11 Apr 2021 12:53:16 +0200
+Subject: * src/wget.h: Use strtoll() for str_to_wgint
+
+This fixes a regression reported at https://savannah.gnu.org/bugs/?60353.
+
+Reported-by: Michal Ruprich
+---
+ src/wget.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wget.h b/src/wget.h
+index cbac4678..23f0350d 100644
+--- a/src/wget.h
++++ b/src/wget.h
+@@ -144,7 +144,7 @@ typedef int64_t wgint;
+ #define WGINT_MAX INT64_MAX
+ typedef wgint SUM_SIZE_INT;
+-#define str_to_wgint strtol
++#define str_to_wgint strtoll
+ #include "options.h"
+-- 
+cgit v1.2.1
+
This page took 0.039811 seconds and 4 git commands to generate.