diff options
Diffstat (limited to 'debian/patches/fix-large-downloads-on-32-bit')
-rw-r--r-- | debian/patches/fix-large-downloads-on-32-bit | 26 |
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" + |