Resolves: #1949045 - wget in F33 i686 is unable to download files larger than 2GiB

This commit is contained in:
Michal Ruprich 2021-04-14 12:22:19 +02:00
parent 498d6f6310
commit e81344a4a6
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
* Wed Apr 14 2021 Michal Ruprich <michalruprich@gmail.com> - 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 <releng@fedoraproject.org> - 1.21.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild