Resolves bug #1944262 - wget in F33 arm is unable to download files larger than 2GiB

This commit is contained in:
Michal Ruprich 2021-04-12 13:18:02 +02:00
parent 17124feb43
commit e73cb73e3e
2 changed files with 18 additions and 1 deletions

13
wget-1.21-strtol.patch Normal file
View File

@ -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"

View File

@ -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
* Mon Apr 12 2021 Michal Ruprich <mruprich@redhat.com> - 1.21.1-3
- Resolves bug #1944262 - wget in F33 arm is unable to download files larger than 2GiB
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.21.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild