2024-03-15 19:55:58 +01:00
|
|
|
--- ./configure.orig 2024-03-12 18:42:26.000000000 -0500
|
|
|
|
+++ ./configure 2024-03-15 13:22:46.014768956 -0500
|
|
|
|
@@ -43591,6 +43591,7 @@
|
2023-04-14 00:25:18 +02:00
|
|
|
PHP_IMAP_EXPORT void mm_nocritical(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_notify(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_login(void){}
|
|
|
|
+ PHP_IMAP_EXPORT void mm_login_method(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_diskerror(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_status(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_lsub(void){}
|
2024-03-15 19:55:58 +01:00
|
|
|
@@ -43770,6 +43771,7 @@
|
2023-04-14 00:25:18 +02:00
|
|
|
PHP_IMAP_EXPORT void mm_nocritical(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_notify(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_login(void){}
|
|
|
|
+ PHP_IMAP_EXPORT void mm_login_method(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_diskerror(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_status(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_lsub(void){}
|
2024-03-15 19:55:58 +01:00
|
|
|
--- ./ext/imap/config.m4.orig 2024-03-12 18:42:26.000000000 -0500
|
|
|
|
+++ ./ext/imap/config.m4 2024-03-15 13:21:36.270772814 -0500
|
2023-04-14 00:25:18 +02:00
|
|
|
@@ -46,6 +46,7 @@
|
|
|
|
PHP_IMAP_EXPORT void mm_nocritical(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_notify(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_login(void){}
|
|
|
|
+ PHP_IMAP_EXPORT void mm_login_method(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_diskerror(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_status(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_lsub(void){}
|
|
|
|
@@ -282,6 +283,7 @@
|
|
|
|
PHP_IMAP_EXPORT void mm_nocritical(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_notify(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_login(void){}
|
|
|
|
+ PHP_IMAP_EXPORT void mm_login_method(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_diskerror(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_status(void){}
|
|
|
|
PHP_IMAP_EXPORT void mm_lsub(void){}
|
2024-03-15 19:55:58 +01:00
|
|
|
--- ./ext/imap/php_imap.c.orig 2024-03-12 18:42:26.000000000 -0500
|
|
|
|
+++ ./ext/imap/php_imap.c 2024-03-15 13:21:36.271772814 -0500
|
|
|
|
@@ -4778,7 +4778,7 @@
|
2020-03-17 23:11:07 +01:00
|
|
|
php debugger? */
|
|
|
|
}
|
|
|
|
|
|
|
|
-PHP_IMAP_EXPORT void mm_login(NETMBX *mb, char *user, char *pwd, long trial)
|
|
|
|
+PHP_IMAP_EXPORT void mm_login(NETMBX *mb, char *user, char **pwd, long trial)
|
|
|
|
{
|
|
|
|
|
|
|
|
if (*mb->user) {
|
2024-03-15 19:55:58 +01:00
|
|
|
@@ -4786,7 +4786,13 @@
|
2020-03-17 23:11:07 +01:00
|
|
|
} else {
|
|
|
|
strlcpy (user, IMAPG(imap_user), MAILTMPLEN);
|
|
|
|
}
|
|
|
|
- strlcpy (pwd, IMAPG(imap_password), MAILTMPLEN);
|
|
|
|
+ *pwd = cpystr(IMAPG(imap_password)); /* alpine-2.22 c-client.a */
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+/* alpine-2.22 c-client.a workaround */
|
|
|
|
+PHP_IMAP_EXPORT void mm_login_method(NETMBX *mb, char *user, void *pwd, long trial, char *method)
|
|
|
|
+{
|
|
|
|
+ pwd = NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
PHP_IMAP_EXPORT void mm_critical(MAILSTREAM *stream)
|