diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-11-18 03:11:50 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-11-21 02:08:32 -0600 |
commit | 4a4ac4b35fd5faf14e7143c0c8babe65c9c95e92 (patch) | |
tree | d7baad867fb90684d7d08e4221f363e72efd147f /user/trojita/deprecated3.patch | |
parent | 3ff4b8c8548f6b45f93367f2ea8d151844f43c8f (diff) | |
download | packages-4a4ac4b35fd5faf14e7143c0c8babe65c9c95e92.tar.gz packages-4a4ac4b35fd5faf14e7143c0c8babe65c9c95e92.tar.bz2 packages-4a4ac4b35fd5faf14e7143c0c8babe65c9c95e92.tar.xz packages-4a4ac4b35fd5faf14e7143c0c8babe65c9c95e92.zip |
user/trojita: Fix build and add patches
* Ensures Trojitá does not crash using attachments.
* Port to Qt 5.15.
* Fix a security issue with STARTTLS.
* Ensure passwords are stored correctly.
* Fix signedness on unsigned char platforms (ARM, Power).
Closes: #856
Diffstat (limited to 'user/trojita/deprecated3.patch')
-rw-r--r-- | user/trojita/deprecated3.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/user/trojita/deprecated3.patch b/user/trojita/deprecated3.patch new file mode 100644 index 000000000..9f1ab3e7e --- /dev/null +++ b/user/trojita/deprecated3.patch @@ -0,0 +1,37 @@ +From 39772585033c1c0aff96f297e93de7be53f9b114 Mon Sep 17 00:00:00 2001 +From: Heiko Becker <heirecka@exherbo.org> +Date: Sat, 23 Mar 2019 01:17:11 +0100 +Subject: [PATCH] tests: Fix build with Qt 5.13 + +QTest::toString(QModelIndex) was added in +7ef0b575b38d267bd3dc14ff46935d556562ff00 and thus causes a build +error with Qt 5.13 because it's redefined here. + +Change-Id: I015800e49cf8d0e87f3541642406396f150d0eeb +--- + tests/Imap/test_Imap_BodyParts.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/tests/Imap/test_Imap_BodyParts.cpp b/tests/Imap/test_Imap_BodyParts.cpp +index f1c577fa..b6e0421d 100644 +--- a/tests/Imap/test_Imap_BodyParts.cpp ++++ b/tests/Imap/test_Imap_BodyParts.cpp +@@ -51,6 +51,7 @@ struct Data { + + Q_DECLARE_METATYPE(QList<Data>) + ++#if QT_VERSION < QT_VERSION_CHECK(5, 13, 0) + namespace QTest { + template <> + char *toString(const QModelIndex &index) +@@ -60,6 +61,7 @@ char *toString(const QModelIndex &index) + return qstrdup(buf.toUtf8().constData()); + } + } ++#endif + + using namespace Imap::Mailbox; + +-- +GitLab + |