[packages/mailutils] - updated to 3.8 - added extern patch (add missing extern "C")

qboosh qboosh at pld-linux.org
Fri Nov 8 22:46:57 CET 2019


commit 18f1013fc548fadb5e7ffca5e72d9f6a05057c05
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Nov 8 22:47:04 2019 +0100

    - updated to 3.8
    - added extern patch (add missing extern "C")

 mailutils-extern.patch | 22 ++++++++++++++++++++++
 mailutils.spec         | 14 +++++++++-----
 2 files changed, 31 insertions(+), 5 deletions(-)
---
diff --git a/mailutils.spec b/mailutils.spec
index 0a17d81..37936d9 100644
--- a/mailutils.spec
+++ b/mailutils.spec
@@ -1,6 +1,6 @@
 # TODO:
 # - look at files in main package (more split?)
-# - guile and python packages? (note: maidag and mu-mh/inc link with libmu_scm/libmu_py libraries)
+# - guile and python packages? (note: lmtpd, mda, putmail, mu-mh/inc link with libmu_scm/libmu_py libraries)
 # - scripts for daemons
 # - dbm switches? (GDBM BDB NDBM TC KC)
 #
@@ -28,17 +28,18 @@
 Summary:	GNU mail utilities
 Summary(pl.UTF-8):	Narzędzia pocztowe z projektu GNU
 Name:		mailutils
-Version:	3.7
-Release:	2
+Version:	3.8
+Release:	1
 License:	GPL v3+
 Group:		Applications/Mail
 Source0:	https://ftp.gnu.org/gnu/mailutils/%{name}-%{version}.tar.xz
-# Source0-md5:	b5347a33f853b32ac544f743cc83895d
+# Source0-md5:	283f803ea2057d50ecabf9fd8de9b776
 Patch0:		%{name}-info.patch
 Patch1:		%{name}-tinfo.patch
 Patch2:		link.patch
 Patch3:		%{name}-includes.patch
 Patch4:		%{name}-examples.patch
+Patch5:		%{name}-extern.patch
 URL:		http://www.gnu.org/software/mailutils/mailutils.html
 BuildRequires:	autoconf >= 2.63
 BuildRequires:	automake >= 1:1.11
@@ -186,6 +187,7 @@ skrzynek pocztowych.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
 
 %{__rm} po/stamp-po
 
@@ -262,10 +264,12 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/messages
 %attr(755,root,root) %{_bindir}/mimeview
 %attr(755,root,root) %{_bindir}/movemail
+%attr(755,root,root) %{_bindir}/putmail
 %attr(755,root,root) %{_bindir}/readmsg
 %attr(755,root,root) %{_bindir}/sieve
 %attr(755,root,root) %{_sbindir}/comsatd
-%attr(755,root,root) %{_sbindir}/maidag
+%attr(755,root,root) %{_sbindir}/lmtpd
+%attr(755,root,root) %{_sbindir}/mda
 %dir %{mh_bindir}
 %attr(755,root,root) %{mh_bindir}/ali
 %attr(755,root,root) %{mh_bindir}/anno
diff --git a/mailutils-extern.patch b/mailutils-extern.patch
new file mode 100644
index 0000000..6f1fadc
--- /dev/null
+++ b/mailutils-extern.patch
@@ -0,0 +1,22 @@
+--- mailutils-3.8/libmailutils/wordsplit/wordsplit.h.orig	2019-07-23 06:36:52.000000000 +0200
++++ mailutils-3.8/libmailutils/wordsplit/wordsplit.h	2019-11-08 21:28:14.865027949 +0100
+@@ -19,6 +19,10 @@
+ 
+ #include <stddef.h>
+ 
++#ifdef __cplusplus
++extern "C" {
++#endif
++
+ typedef struct wordsplit wordsplit_t;
+ 
+ /* Structure used to direct the splitting.  Members marked with [Input]
+@@ -303,4 +307,8 @@
+ 
+ void wordsplit_clearerr (wordsplit_t *ws);
+ 
++#ifdef __cplusplus
++}
++#endif
++
+ #endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mailutils.git/commitdiff/18f1013fc548fadb5e7ffca5e72d9f6a05057c05



More information about the pld-cvs-commit mailing list