--- /dev/null
+--- suck-4.3.4/chkhistory_db.c.orig 2018-08-01 15:54:24.000000000 +0200
++++ suck-4.3.4/chkhistory_db.c 2023-01-24 20:41:32.371231375 +0100
+@@ -81,6 +81,7 @@ static DBM *db = NULL; /* I know this is
+ #endif
+ #ifdef USE_INN23
+ #include <sys/types.h>
++#include <inn/system.h>
+ #include <inn/libinn.h>
+ #include <inn/dbz.h>
+ #define close_history() dbzclose()
Summary(pl.UTF-8): suck odbiera i wysyĆa newsy przez NNTP
Name: suck
Version: 4.3.4
-Release: 2
+Release: 3
License: Public Domain
Group: Networking/News
#Source0Download: https://github.com/lazarus-pkgs/suck/releases
Patch2: %{name}-gets.patch
# additional IPv6 features from older patch: http://www.bacza.net/files/suck-4.3.2-ipv6.patch
Patch3: %{name}-ipv6.patch
+# temporary workaround for messed headers in inn 2.7.0 (fixed on 2.8 branch)
+Patch4: %{name}-inn.patch
URL: https://github.com/lazarus-pkgs/suck
BuildRequires: autoconf >= 2.50
BuildRequires: automake
%patch1 -p1
%patch2 -p1
%patch3 -p1
+%patch4 -p1
%build
%{__aclocal}