--- /dev/null
+From 90631a6fe54eabd9c80ede5c70bc916719e76cfe Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
+Date: Sun, 11 Apr 2021 12:53:16 +0200
+Subject: * 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
+---
+ src/wget.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/wget.h b/src/wget.h
+index cbac4678..23f0350d 100644
+--- a/src/wget.h
++++ 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"
+
+--
+cgit v1.2.1
+
Summary(zh_CN.UTF-8): [通讯]功能强大的下载程序,支持断点续传
Name: wget
Version: 1.21.1
-Release: 1
+Release: 2
License: GPL v3+ with OpenSSL exception
Group: Networking/Utilities
Source0: http://ftp.gnu.org/gnu/wget/%{name}-%{version}.tar.lz
Patch2: %{name}-home_etc.patch
Patch3: %{name}-ssl-certs.patch
Patch4: user.xdg.origin.url.patch
+Patch5: %{name}-largefile_32bit.patch
URL: http://www.gnu.org/software/wget/
BuildRequires: autoconf >= 2.64
BuildRequires: automake >= 1:1.9
%patch2 -p1
%patch3 -p1
%patch4 -p1
+%patch5 -p1
%{__rm} doc/wget.info doc/sample.wgetrc.munged_for_texi_inclusion po/stamp-po