--- /dev/null
+--- poldek-0.32.2/vfile/vfff/ftp.c~ 2016-01-30 14:05:57.000000000 +0000
++++ poldek-0.32.2/vfile/vfff/ftp.c 2019-10-02 08:50:20.832444438 +0000
+@@ -654,6 +654,9 @@
+ tm.tm_year -= 1900;
+ tm.tm_mon -= 1;
+ ts = mktime(&tm);
++ /* We can't do much if time can't be represented */
++ if (ts < 0)
++ return 0;
+ }
+ return ts;
+ }
%define ver_db_rel 1
%define ver_rpm 4.5-49
-%define rel 8
+%define rel 9
Summary: RPM packages management helper tool
Summary(hu.UTF-8): RPM csomagkezelést segítő eszköz
Summary(pl.UTF-8): Pomocnicze narzędzie do zarządzania pakietami RPM
Patch5: %{name}-python-fix.patch
Patch6: %{name}-libdb.patch
Patch7: openssl.patch
+Patch8: %{name}-notzdata.patch
URL: http://poldek.pld-linux.org/
BuildRequires: %{db_pkg}-devel >= %{ver_db}-%{ver_db_rel}
BuildRequires: autoconf
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
%{__rm} m4/libtool.m4 m4/lt*.m4