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