summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-large-downloads-on-32-bit
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:47:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 17:47:51 +0000
commit8e328572811594ac8aac42d380878b61c944c69a (patch)
treeb1c86012fc38e375fb89671e4b2f519ac83b8a34 /debian/patches/fix-large-downloads-on-32-bit
parentAdding upstream version 1.21. (diff)
downloadwget-8e328572811594ac8aac42d380878b61c944c69a.tar.xz
wget-8e328572811594ac8aac42d380878b61c944c69a.zip
Adding debian version 1.21-1+deb11u1.debian/1.21-1+deb11u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/patches/fix-large-downloads-on-32-bit26
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/fix-large-downloads-on-32-bit b/debian/patches/fix-large-downloads-on-32-bit
new file mode 100644
index 0000000..2e9ca64
--- /dev/null
+++ b/debian/patches/fix-large-downloads-on-32-bit
@@ -0,0 +1,26 @@
+Debian patch based on the upstream commit below, defuzzed
+in the context of the debian package.
+
+commit 90631a6fe54eabd9c80ede5c70bc916719e76cfe
+Author: Tim Rühsen <tim.ruehsen@gmx.de>
+Date: Sun Apr 11 12:53:16 2021 +0200
+
+ * 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
+
+Index: wget-1.21/src/wget.h
+===================================================================
+--- wget-1.21.orig/src/wget.h
++++ wget-1.21/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"
+