Silent common variable

OBS-URL: https://build.opensuse.org/package/show/server:mail/mailutils?expand=0&rev=29
This commit is contained in:
Dr. Werner Fink 2020-02-27 10:52:18 +00:00 committed by Git OBS Bridge
parent 64552a94fb
commit 1d45ed155c
3 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Feb 27 10:51:15 UTC 2020 - Dr. Werner Fink <werner@suse.de>
- Add patch silent-common-mu_tcp_wrapper_daemon.patch
* Add extern in header file declaration of variable
mu_tcp_wrapper_daemon (boo#1164444)
-------------------------------------------------------------------
Thu Dec 5 13:05:18 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package mailutils
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -37,6 +37,8 @@ Patch3: mailutils-3.5-guile-2.0.patch
# PATCH-FIX-UPSTREAM python38-compat.patch http://savannah.gnu.org/bugs/index.php?57318 mcepl@suse.com
# Remove incompatibility with Python 3.8+
Patch4: python38-compat.patch
# PATCH-FIX-SUSE add extern in header file declaration of variable mu_tcp_wrapper_daemon (boo#1164444)
Patch5: silent-common-mu_tcp_wrapper_daemon.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
@ -179,6 +181,7 @@ implementations: UNIX mailbox, Maildir, MH, POP3, IMAP4, even SMTP.
%patch0
%patch2
%patch4 -p1
%patch5
set -- %(rpm -q --queryformat '%%{VERSION}' guile-devel | sed -r 's@\.@ @g')
(cat > guile.list)<<-EOF
%dir %{_datadir}/guile/site/$1.$2/

View File

@ -0,0 +1,15 @@
---
lib/tcpwrap.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- lib/tcpwrap.h
+++ lib/tcpwrap.h 2020-02-27 10:47:52.529084180 +0000
@@ -17,7 +17,7 @@
#include <mailutils/types.h>
extern int mu_tcp_wrapper_enable;
-const char *mu_tcp_wrapper_daemon;
+extern const char *mu_tcp_wrapper_daemon;
extern int mu_tcpwrapper_access (int fd);
extern void mu_tcpwrapper_cfg_init (void);
extern int mu_tcp_wrapper_prefork (int fd,