From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/files/, mail-filter/rspamd/
Date: Thu, 26 Jan 2023 07:23:54 +0000 (UTC) [thread overview]
Message-ID: <1674717700.8bf21588a1ff873679440c9b751aedec9ae783fa.sam@gentoo> (raw)
commit: 8bf21588a1ff873679440c9b751aedec9ae783fa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 07:21:40 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 07:21:40 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf21588
mail-filter/rspamd: fix build w/ gcc 13
Signed-off-by: Sam James <sam <AT> gentoo.org>
mail-filter/rspamd/files/rspamd-3.4-gcc-13.patch | 30 ++++++++++++++++++++++++
mail-filter/rspamd/rspamd-3.4-r2.ebuild | 1 +
2 files changed, 31 insertions(+)
diff --git a/mail-filter/rspamd/files/rspamd-3.4-gcc-13.patch b/mail-filter/rspamd/files/rspamd-3.4-gcc-13.patch
new file mode 100644
index 000000000000..f660b353fec7
--- /dev/null
+++ b/mail-filter/rspamd/files/rspamd-3.4-gcc-13.patch
@@ -0,0 +1,30 @@
+https://github.com/rspamd/rspamd/commit/0a916c632e18e6686e1a2256d5ef2fe1a1cc239f
+
+From 0a916c632e18e6686e1a2256d5ef2fe1a1cc239f Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Wed, 18 Jan 2023 23:54:24 +0100
+Subject: [PATCH] Fix build with gcc 13 by including <cstdint>
+
+Like other versions before, gcc 13 moved some includes around and as a
+result <cstdint> is no longer transitively included. Explicitly include
+it for uint8_t.
+--- a/src/libserver/css/css_tokeniser.hxx
++++ b/src/libserver/css/css_tokeniser.hxx
+@@ -24,6 +24,7 @@
+ #include <variant>
+ #include <list>
+ #include <functional>
++#include <cstdint>
+ #include "mem_pool.h"
+
+ namespace rspamd::css {
+--- a/src/libserver/html/html_tag.hxx
++++ b/src/libserver/html/html_tag.hxx
+@@ -23,6 +23,7 @@
+ #include <variant>
+ #include <vector>
+ #include <optional>
++#include <cstdint>
+
+ #include "html_tags.h"
+
diff --git a/mail-filter/rspamd/rspamd-3.4-r2.ebuild b/mail-filter/rspamd/rspamd-3.4-r2.ebuild
index 67c7e30c3e00..0a63b92b87b8 100644
--- a/mail-filter/rspamd/rspamd-3.4-r2.ebuild
+++ b/mail-filter/rspamd/rspamd-3.4-r2.ebuild
@@ -73,6 +73,7 @@ PATCHES=(
"${FILESDIR}/${PN}-2.5-unbundle-snowball.patch"
"${FILESDIR}/${PN}-3.3-remove-test-case.patch"
"${FILESDIR}/${PN}-3.4-hyperscan-page-alignment.patch"
+ "${FILESDIR}/${P}-gcc-13.patch"
)
src_prepare() {
next reply other threads:[~2023-01-26 7:23 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-26 7:23 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-19 16:45 [gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/files/, mail-filter/rspamd/ Petr Vaněk
2023-05-29 10:59 Andreas Sturmlechner
2022-12-24 8:59 Andreas Sturmlechner
2022-11-06 6:17 Sam James
2021-08-22 2:50 Sam James
2021-01-09 12:33 Sam James
2021-01-09 12:33 Sam James
2021-01-09 12:33 Sam James
2020-11-20 10:12 Joonas Niilola
2020-11-20 10:12 Joonas Niilola
2020-10-07 15:58 Sam James
2020-10-02 7:32 Joonas Niilola
2020-10-02 7:32 Joonas Niilola
2020-04-04 8:06 Joonas Niilola
2019-01-16 3:15 Thomas Deutschmann
2018-03-29 13:41 Dirkjan Ochtman
2017-05-05 9:40 Dirkjan Ochtman
2017-01-03 19:00 Dirkjan Ochtman
2016-12-18 15:41 Dirkjan Ochtman
2016-01-30 15:29 Dirkjan Ochtman
2015-12-26 13:21 Dirkjan Ochtman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1674717700.8bf21588a1ff873679440c9b751aedec9ae783fa.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox