aboutsummaryrefslogtreecommitdiff
path: root/mail/courier-imap
diff options
context:
space:
mode:
Diffstat (limited to 'mail/courier-imap')
-rw-r--r--mail/courier-imap/Makefile2
-rw-r--r--mail/courier-imap/distinfo6
-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
5 files changed, 55 insertions, 4 deletions
diff --git a/mail/courier-imap/Makefile b/mail/courier-imap/Makefile
index 89e4c2a26574..5d085458ae4d 100644
--- a/mail/courier-imap/Makefile
+++ b/mail/courier-imap/Makefile
@@ -1,5 +1,5 @@
PORTNAME= courier-imap
-PORTVERSION= 5.2.11
+PORTVERSION= 5.3.1
PORTEPOCH= 2
CATEGORIES= mail
MASTER_SITES= SF/courier/imap/${PORTVERSION}
diff --git a/mail/courier-imap/distinfo b/mail/courier-imap/distinfo
index fb0b026e5857..e1b9ff11335e 100644
--- a/mail/courier-imap/distinfo
+++ b/mail/courier-imap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1744019947
-SHA256 (courier-imap-5.2.11.tar.bz2) = 49fd73f7f056f4525aba4767cf912999d69f2f5efd757094159e4fc38c783122
-SIZE (courier-imap-5.2.11.tar.bz2) = 3418726
+TIMESTAMP = 1761325457
+SHA256 (courier-imap-5.3.1.tar.bz2) = 7c6f02b437c4dcc1b3e137ab543b5cc9f9e54f01bc74d6ca0509a3efb41ddaa6
+SIZE (courier-imap-5.3.1.tar.bz2) = 3732996
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};