summaryrefslogtreecommitdiff
path: root/net-mail/mu/files/mu-1.12.2-musl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-mail/mu/files/mu-1.12.2-musl.patch')
-rw-r--r--net-mail/mu/files/mu-1.12.2-musl.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/net-mail/mu/files/mu-1.12.2-musl.patch b/net-mail/mu/files/mu-1.12.2-musl.patch
deleted file mode 100644
index 35f6017e56f3..000000000000
--- a/net-mail/mu/files/mu-1.12.2-musl.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From: https://github.com/djcb/mu/pull/2677
-From: Matthew Smith <matthew@gentoo.org>
-Date: Mon, 1 Apr 2024 11:23:39 +0000
-Subject: [PATCH] mu-utils: Fix build with musl
-
-In musl, `stdout` is a macro that expands to `(stdout)`, and
-`::(stdout)` is not valid C++.
-
-../mu-1.12.2/lib/utils/mu-utils.hh:268:32: error: expected
- id-expression before '(' token
- 268 | ::stdout);
- | ^~~~~~
-
-Nothing in the Mu namespace is named stdout, so it is safe to drop
-the `::`.
-
-Bug: https://bugs.gentoo.org/928361
---- a/lib/utils/mu-utils.hh
-+++ b/lib/utils/mu-utils.hh
-@@ -265,7 +265,7 @@ bool fputs_encoded (const std::string& str, FILE *stream);
- template<typename...T>
- static inline bool mu_print_encoded(fmt::format_string<T...> frm, T&&... args) noexcept {
- return fputs_encoded(fmt::format(frm, std::forward<T>(args)...),
-- ::stdout);
-+ stdout);
- }
-
- /**
---
-2.44.0
-