summaryrefslogtreecommitdiff
path: root/net-mail/mu
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mu')
-rw-r--r--net-mail/mu/Manifest3
-rw-r--r--net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch37
-rw-r--r--net-mail/mu/mu-1.8.13.ebuild4
3 files changed, 43 insertions, 1 deletions
diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
index 94cc182c6b88..41f8c9e47e31 100644
--- a/net-mail/mu/Manifest
+++ b/net-mail/mu/Manifest
@@ -1,4 +1,5 @@
AUX 70mu-gentoo-autoload.el 68 BLAKE2B 518f6544d9b36a845e58fca8c4c9dc02c6855f48576508d47718afb1b08b4f83ce87f257e68756690f4ac70ed9770b7064f2613dc3c4077bbcf9b826512644d0 SHA512 ae50746ba93e3ac81a11d3c8746b72182fcdadc3e29966d65233debd8e6b8aa56f76f5e6a70fc68f7761e4dd55045d2b32e3765cedcced4813de3682187beeea
+AUX mu-1.8.13-add-cstdint-inc.patch 1158 BLAKE2B 6f8b7529c6a8b6f432303ee7aac811d66011f098a50b15817f83a397481af69045cd1558e0480be649f7781578fbbcced6c0dea1065e7b21d742041b3b29d61b SHA512 d7c2d43ceb92fbc509df0af4e0a97a993b9da15109ac7a9e7d05909d7ed2cb6e5dd8b2e2b9aadf56c1bbc83f5fb9e643db0f64daa6b1275e3be0016af8fedac1
DIST mu-1.8.13.tar.xz 543696 BLAKE2B 7e96040b12630d8dd1320475e8b7e62b7f349767d331237838e2dd092df51c4f94cf8605d1266d26f4d2fa9aa092ba03546ed21968448302c3a12495702e46bb SHA512 c9dd7564070191e251e8e072042c0d2957e9c9c31064aececf24b9dc99a9b51c6bd60138e88bd86f175365775e98ba49e3bdb5bea02f7738b5e1e68efd7e1a7c
-EBUILD mu-1.8.13.ebuild 2106 BLAKE2B bc866c6fcd63a47305f9de1698dc3799b2281640c18b249ae79e46d58d59dcffa25e86109f35d6842982aef7848a3d8f8ef2b0ddce43f2ec86b9ea7a98c409d5 SHA512 b2a807fbcad9d900577d1f46916609c390e92b9c0fe6320562614f5a54f1fcf88039384336e71bf8241632648c22f0743287e19591cb06e549c16335ff8cba3d
+EBUILD mu-1.8.13.ebuild 2166 BLAKE2B 9d7bbb994a7d91528e80276d52a9e0944b86826d867d082e56db2297af23e7ae318a64016e1b945fd212757d4c65cfd45bfbb2088629d0ca61e049c07587f32b SHA512 e949d9e9a7fe1ea1141100abf67f21da7cdd73b045389c5ca933d40ad5a7e8c338a3c3837ba51d336b5ea37b21251a60b4fcac17e244f2478893056e2d1f4890
MISC metadata.xml 893 BLAKE2B 4d21c0794fc184957939ebaab628b9a1abe0bbdb63915157e266ce0a773fe3acc52722d010d3b4e096f86257e945c0f9dd51cd0dbe54c37f717408ffe942bc06 SHA512 7f499e039820d12c9acd0affe2a402fc53ee6367684a3c2ba25669987f02b0fabb3db0de978e197876bd9e3af315734af398ba7c8305119c511d59c709b6e225
diff --git a/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch b/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch
new file mode 100644
index 000000000000..5b46732c805f
--- /dev/null
+++ b/net-mail/mu/files/mu-1.8.13-add-cstdint-inc.patch
@@ -0,0 +1,37 @@
+From e0b17e4e31acd5657a3488936ef619c5ae2dc689 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Arsen=20Arsenovi=C4=87?= <arsen@aarsen.me>
+Date: Sat, 21 Jan 2023 19:39:09 +0100
+Subject: [PATCH] mu-error: Add missing <cstdint> include
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+GCC 13s libstdc++ reduced its dependency on some headers like <cstdint>, so it's
+no longer transitively included through various headers. Include it explicitly.
+
+See also: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
+
+ ../lib/utils/mu-error.hh:36:26: error: ‘uint32_t’ does not name a type
+ 36 | static constexpr uint32_t SoftError = 1 << 23;
+ | ^~~~~~~~
+---
+https://github.com/djcb/mu/pull/2421
+
+ lib/utils/mu-error.hh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/utils/mu-error.hh b/lib/utils/mu-error.hh
+index c67fc5a1..61923c6c 100644
+--- a/lib/utils/mu-error.hh
++++ b/lib/utils/mu-error.hh
+@@ -21,6 +21,7 @@
+ #define MU_ERROR_HH__
+
+ #include <stdexcept>
++#include <cstdint>
+ #include "mu-utils-format.hh"
+ #include "mu-util.h"
+ #include <glib.h>
+--
+2.39.1
+
diff --git a/net-mail/mu/mu-1.8.13.ebuild b/net-mail/mu/mu-1.8.13.ebuild
index 5e3b96704cf5..4a5365df91b8 100644
--- a/net-mail/mu/mu-1.8.13.ebuild
+++ b/net-mail/mu/mu-1.8.13.ebuild
@@ -26,6 +26,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}/mu-1.8.13-add-cstdint-inc.patch"
+)
+
SITEFILE="70mu-gentoo-autoload.el"
src_prepare() {