From 8e328572811594ac8aac42d380878b61c944c69a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 27 Apr 2024 19:47:51 +0200 Subject: Adding debian version 1.21-1+deb11u1. Signed-off-by: Daniel Baumann --- debian/patches/fix-large-downloads-on-32-bit | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 debian/patches/fix-large-downloads-on-32-bit (limited to 'debian/patches/fix-large-downloads-on-32-bit') 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 +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" + -- cgit v1.2.3