[packages/suck] - temporarily added inn patch (workaround for messed headers in inn 2.7.0); release 3

qboosh qboosh at pld-linux.org
Tue Jan 24 21:04:09 CET 2023


commit 12be956c8b711b0a0dcaf6c25952e75b5facc674
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 24 21:05:20 2023 +0100

    - temporarily added inn patch (workaround for messed headers in inn 2.7.0); release 3

 suck-inn.patch | 10 ++++++++++
 suck.spec      |  5 ++++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/suck.spec b/suck.spec
index 5958571..3e91004 100644
--- a/suck.spec
+++ b/suck.spec
@@ -2,7 +2,7 @@ Summary:	suck receives/sends news via NNTP
 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
@@ -16,6 +16,8 @@ Patch1:		%{name}-perl-5.6.patch
 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
@@ -54,6 +56,7 @@ zainstalowaniu tego pakietu!
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 %{__aclocal}
diff --git a/suck-inn.patch b/suck-inn.patch
new file mode 100644
index 0000000..cb26d48
--- /dev/null
+++ b/suck-inn.patch
@@ -0,0 +1,10 @@
+--- 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()
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/suck.git/commitdiff/12be956c8b711b0a0dcaf6c25952e75b5facc674



More information about the pld-cvs-commit mailing list