Hello community,

here is the log from the commit of package mailsync for openSUSE:Factory 
checked in at 2019-09-07 11:50:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mailsync (Old)
 and      /work/SRC/openSUSE:Factory/.mailsync.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mailsync"

Sat Sep  7 11:50:33 2019 rev:17 rq:728500 version:5.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/mailsync/mailsync.changes        2017-07-07 
10:16:52.275395180 +0200
+++ /work/SRC/openSUSE:Factory/.mailsync.new.7948/mailsync.changes      
2019-09-07 11:50:34.914298338 +0200
@@ -1,0 +2,5 @@
+Thu Sep  5 12:34:00 UTC 2019 - Stefan Seyfried <[email protected]>
+
+- add mailsync-gcc9.diff to fix build in Factory
+
+-------------------------------------------------------------------

New:
----
  mailsync-gcc9.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ mailsync.spec ++++++
--- /var/tmp/diff_new_pack.sQinzK/_old  2019-09-07 11:50:35.382298272 +0200
+++ /var/tmp/diff_new_pack.sQinzK/_new  2019-09-07 11:50:35.382298272 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package mailsync
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -20,11 +20,14 @@
 Version:        5.2.1
 Release:        0
 Summary:        The Mail Sync Tool
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Productivity/Networking/Email/Utilities
 Url:            http://sourceforge.net/projects/mailsync/
 Source:         
https://sourceforge.net/projects/mailsync/files/mailsync/%{version}/mailsync_%{version}.orig.tar.gz
 Patch0:         mailsync-correct-format-errors.patch
+Patch1:         mailsync-gcc9.diff
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  gcc-c++
 BuildRequires:  imap-devel
 BuildRequires:  openssl-devel
@@ -36,9 +39,11 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%autopatch -p1
 
 %build
+# parameter is passed to ./configure, --help is fastest way out :-)
+./autogen.sh --help
 %configure
 make %{?_smp_mflags}
 

++++++ mailsync-gcc9.diff ++++++
diff --git a/acinclude/ac_with_cclient.m4 b/acinclude/ac_with_cclient.m4
index 24b7648..bd67119 100644
--- a/acinclude/ac_with_cclient.m4
+++ b/acinclude/ac_with_cclient.m4
@@ -126,7 +126,7 @@ AC_DEFUN(AC_WITH_CCLIENT,[
         void mm_nocritical(MAILSTREAM*a){}
         void mm_notify(MAILSTREAM*a,char*b,long c){}
         void mm_login(NETMBX*a,char*b,char*c,long d){}
-        long mm_diskerror(MAILSTREAM*a,long b,long c){}
+        long mm_diskerror(MAILSTREAM*a,long b,long c){ return 0; }
         void mm_status(MAILSTREAM*a,char*b,MAILSTATUS*c){}
         void mm_lsub(MAILSTREAM*a,int b,char*c,long d){}
         void mm_list(MAILSTREAM*a,int b,char*c,long d){}

Reply via email to