summaryrefslogtreecommitdiff
path: root/mail/courier-imap/files
diff options
context:
space:
mode:
Diffstat (limited to 'mail/courier-imap/files')
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h11
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C11
-rw-r--r--mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C29
3 files changed, 51 insertions, 0 deletions
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h b/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h
new file mode 100644
index 000000000000..af387f7e7dd7
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_rfc2045.h
@@ -0,0 +1,11 @@
+--- libs/rfc2045/rfc2045.h.orig 2025-10-06 09:00:02 UTC
++++ libs/rfc2045/rfc2045.h
+@@ -3224,7 +3224,7 @@ void rfc822::mime_decoder<out_iter, src_type>::decode(
+
+ if (decode_header)
+ {
+- typename rfc2045::entity::line_iter<crlf>::headers<
++ typename rfc2045::entity::line_iter<crlf>::template headers<
+ src_type> parser{e, src };
+
+ parser.name_lc=header_name_lc;
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C
new file mode 100644
index 000000000000..649fadc8ea79
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp.C
@@ -0,0 +1,11 @@
+--- libs/rfc2045/testsuitecpp.C.orig 2025-10-04 09:00:06 UTC
++++ libs/rfc2045/testsuitecpp.C
+@@ -19,7 +19,7 @@ void testrfc2045line_iter_testset(int &testnum, test_t
+ auto b=s.begin();
+ auto e=s.end();
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::string_view::iterator,
+ std::string_view::iterator
+ >
diff --git a/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C
new file mode 100644
index 000000000000..353465b17a71
--- /dev/null
+++ b/mail/courier-imap/files/patch-libs_rfc2045_testsuitecpp2.C
@@ -0,0 +1,29 @@
+--- libs/rfc2045/testsuitecpp2.C.orig 2025-09-10 09:00:05 UTC
++++ libs/rfc2045/testsuitecpp2.C
+@@ -217,7 +217,7 @@ void test3()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -310,7 +310,7 @@ void test4()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};
+@@ -488,7 +488,7 @@ void test5()
+ auto b=std::istreambuf_iterator<char>{ss};
+ auto e=std::istreambuf_iterator<char>{};
+
+- typename rfc2045::entity::line_iter<crlf>::iter<
++ typename rfc2045::entity::line_iter<crlf>::template iter<
+ std::istreambuf_iterator<char>,
+ std::istreambuf_iterator<char>
+ > iter{b, e};