[packages/msmtp] - include to allow buiding in C<23 modes (C23 is not enforced by configure)
qboosh
qboosh at pld-linux.org
Sun Jul 12 07:00:31 CEST 2026
commit 5f0c1a487f371aeff22197647cc9dabb18524ffc
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 12 07:00:30 2026 +0200
- include to allow buiding in C<23 modes (C23 is not enforced by configure)
msmtp-bool.patch | 10 ++++++++++
msmtp.spec | 2 ++
2 files changed, 12 insertions(+)
---
diff --git a/msmtp.spec b/msmtp.spec
index 5a5d326..db0f3f2 100644
--- a/msmtp.spec
+++ b/msmtp.spec
@@ -13,6 +13,7 @@ Source0: https://marlam.de/msmtp/releases/%{name}-%{version}.tar.xz
# Source0-md5: 70901783900607b72299640e04511c91
Patch0: %{name}-home_etc.patch
Patch1: %{name}-info.patch
+Patch2: %{name}-bool.patch
Source1: %{name}rc
URL: https://marlam.de/msmtp/
BuildRequires: autoconf >= 2.50
@@ -82,6 +83,7 @@ Dowiązania symboliczne msmtp do sendmaila.
%setup -q
%patch -P0 -p1
%patch -P1 -p1
+%patch -P2 -p1
%build
%{__gettextize}
diff --git a/msmtp-bool.patch b/msmtp-bool.patch
new file mode 100644
index 0000000..1304d74
--- /dev/null
+++ b/msmtp-bool.patch
@@ -0,0 +1,10 @@
+--- msmtp-1.8.33/src/base64.h.orig 2026-06-05 17:07:38.000000000 +0200
++++ msmtp-1.8.33/src/base64.h 2026-07-11 22:47:59.590103279 +0200
+@@ -18,6 +18,7 @@
+ #ifndef BASE64_H
+ #define BASE64_H
+
++#include <stdbool.h>
+ #include <stddef.h>
+ typedef size_t idx_t;
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/msmtp.git/commitdiff/5f0c1a487f371aeff22197647cc9dabb18524ffc
More information about the pld-cvs-commit
mailing list