public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bernard Cafarelli" <voyageur@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/claws-mail/, mail-client/claws-mail/files/
Date: Tue,  4 Jul 2023 17:24:49 +0000 (UTC)	[thread overview]
Message-ID: <1688491259.92eccfef050524124fad4d344739d2a8b2ae834e.voyageur@gentoo> (raw)

commit:     92eccfef050524124fad4d344739d2a8b2ae834e
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Jul  4 17:17:37 2023 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Jul  4 17:20:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92eccfef

mail-client/claws-mail: fix litehtml plugin compilation with gcc13

Closes: https://bugs.gentoo.org/905839
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild  |  1 +
 .../files/claws-mail-4.1.1-litehtml_gcc13.patch    | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild b/mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild
index 51002e15d537..323186d925d1 100644
--- a/mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild
+++ b/mail-client/claws-mail/claws-mail-4.1.1-r2.ebuild
@@ -110,6 +110,7 @@ PATCHES=(
 	"${FILESDIR}/${PN}-3.17.5-enchant-2_default.patch"
 	"${FILESDIR}/${PN}-4.1.1-fix_lto.patch"
 	"${FILESDIR}/${P}-webkitgtk4.1.patch"
+	"${FILESDIR}/${P}-litehtml_gcc13.patch"
 )
 
 src_prepare() {

diff --git a/mail-client/claws-mail/files/claws-mail-4.1.1-litehtml_gcc13.patch b/mail-client/claws-mail/files/claws-mail-4.1.1-litehtml_gcc13.patch
new file mode 100644
index 000000000000..10da0463b843
--- /dev/null
+++ b/mail-client/claws-mail/files/claws-mail-4.1.1-litehtml_gcc13.patch
@@ -0,0 +1,37 @@
+From a9a16a253ed3865a51db5e306539d3494087dafd Mon Sep 17 00:00:00 2001
+From: Paul <paul@claws-mail.org>
+Date: Wed, 19 Apr 2023 16:42:07 +0100
+Subject: [PATCH] fix bug 4648, 'fails to build with gcc 13'
+
+---
+ src/plugins/litehtml_viewer/litehtml/html.h    | 1 +
+ src/plugins/litehtml_viewer/litehtml/num_cvt.h | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/plugins/litehtml_viewer/litehtml/html.h b/src/plugins/litehtml_viewer/litehtml/html.h
+index 4151b1225..20457f155 100644
+--- a/src/plugins/litehtml_viewer/litehtml/html.h
++++ b/src/plugins/litehtml_viewer/litehtml/html.h
+@@ -9,6 +9,7 @@
+ #include <cstring>
+ #include <algorithm>
+ #include <sstream>
++#include <cstdint>
+ #include "os_types.h"
+ #include "types.h"
+ #include "background.h"
+diff --git a/src/plugins/litehtml_viewer/litehtml/num_cvt.h b/src/plugins/litehtml_viewer/litehtml/num_cvt.h
+index 515e46d62..367dcc36a 100644
+--- a/src/plugins/litehtml_viewer/litehtml/num_cvt.h
++++ b/src/plugins/litehtml_viewer/litehtml/num_cvt.h
+@@ -2,6 +2,7 @@
+ #define NUM_CVT_H
+ 
+ #include <string>
++#include <cstdint>
+ #include "os_types.h"
+ 
+ namespace litehtml
+-- 
+2.25.1
+


             reply	other threads:[~2023-07-04 17:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-04 17:24 Bernard Cafarelli [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-20 17:42 [gentoo-commits] repo/gentoo:master commit in: mail-client/claws-mail/, mail-client/claws-mail/files/ Andreas Sturmlechner
2024-02-02 15:23 Bernard Cafarelli
2022-07-23 20:21 Bernard Cafarelli
2020-07-13 13:35 Lars Wendler
2020-03-09 14:31 Lars Wendler
2019-11-06 10:34 Lars Wendler
2017-08-11 19:57 Lars Wendler
2015-12-21  7:33 Lars Wendler

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=1688491259.92eccfef050524124fad4d344739d2a8b2ae834e.voyageur@gentoo \
    --to=voyageur@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