From d5c30d2909f8b26f5cfadf88f1de325ee0e35082 Mon Sep 17 00:00:00 2001 From: Rmys Date: Sun, 18 Aug 2024 12:53:59 +0300 Subject: [PATCH] claws-mail gcc-13 patch --- network/mail/claws-mail/files/gcc-13.patch | 36 ++++++++++++++++++++++ network/mail/claws-mail/pspec.xml | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 network/mail/claws-mail/files/gcc-13.patch diff --git a/network/mail/claws-mail/files/gcc-13.patch b/network/mail/claws-mail/files/gcc-13.patch new file mode 100644 index 0000000000..a2466897f9 --- /dev/null +++ b/network/mail/claws-mail/files/gcc-13.patch @@ -0,0 +1,36 @@ +From a9a16a253ed3865a51db5e306539d3494087dafd Mon Sep 17 00:00:00 2001 +From: Paul +Date: Wed, 19 Apr 2023 16:42:07 +0100 +Subject: [PATCH 1/1] 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 + #include + #include ++#include + #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 ++#include + #include "os_types.h" + + namespace litehtml +-- +2.25.1 diff --git a/network/mail/claws-mail/pspec.xml b/network/mail/claws-mail/pspec.xml index 58781af977..174ec469e9 100644 --- a/network/mail/claws-mail/pspec.xml +++ b/network/mail/claws-mail/pspec.xml @@ -44,7 +44,7 @@ startup-notification-devel - + gcc-13.patch