diff --git a/wget-1.21-strtol.patch b/wget-1.21-strtol.patch new file mode 100644 index 0000000..35ac139 --- /dev/null +++ b/wget-1.21-strtol.patch @@ -0,0 +1,13 @@ +diff --git a/src/wget.h.old b/src/wget.h +index 6f20eab..f422737 100644 +--- a/src/wget.h.old ++++ 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" + diff --git a/wget.spec b/wget.spec index ef0b646..06b8610 100644 --- a/wget.spec +++ b/wget.spec @@ -1,12 +1,13 @@ Summary: A utility for retrieving files using the HTTP or FTP protocols Name: wget Version: 1.21.1 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Url: http://www.gnu.org/software/wget/ Source: ftp://ftp.gnu.org/gnu/wget/wget-%{version}.tar.gz Patch1: wget-1.17-path.patch +Patch2: wget-1.21-strtol.patch Provides: webclient Provides: bundled(gnulib) @@ -67,6 +68,9 @@ make check %{_infodir}/* %changelog +* Wed Apr 14 2021 Michal Ruprich - 1.21.1-3 +- Resolves: #1949045 - wget in F33 i686 is unable to download files larger than 2GiB + * Wed Jan 27 2021 Fedora Release Engineering - 1.21.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild