From 24fd814c326e282c4321965c31f341dad77e270d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Jan 2021 11:28:34 +0000 Subject: gentoo resync : 08.01.2021 --- .../files/dovecot-2.3.11.3-autoconf-lua-version.patch | 17 ----------------- .../dovecot/files/dovecot-autoconf-lua-version.patch | 17 +++++++++++++++++ .../dovecot/files/dovecot-socket-name-too-long.patch | 11 +++++++++++ 3 files changed, 28 insertions(+), 17 deletions(-) delete mode 100644 net-mail/dovecot/files/dovecot-2.3.11.3-autoconf-lua-version.patch create mode 100644 net-mail/dovecot/files/dovecot-autoconf-lua-version.patch create mode 100644 net-mail/dovecot/files/dovecot-socket-name-too-long.patch (limited to 'net-mail/dovecot/files') diff --git a/net-mail/dovecot/files/dovecot-2.3.11.3-autoconf-lua-version.patch b/net-mail/dovecot/files/dovecot-2.3.11.3-autoconf-lua-version.patch deleted file mode 100644 index 5572271929ef..000000000000 --- a/net-mail/dovecot/files/dovecot-2.3.11.3-autoconf-lua-version.patch +++ /dev/null @@ -1,17 +0,0 @@ ---- a/m4/want_lua.m4 -+++ b/m4/want_lua.m4 -@@ -13,13 +13,12 @@ - AC_MSG_RESULT([$with_lua]) - - AS_IF([test "x$with_lua" != "xno"], -- [for LUAPC in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua; do -+ [ - PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [ - AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have lua]) - with_lua=yes - ], [LUAPC=""]) # otherwise pkg_check will fail - if test "x$LUA_LIBS" != "x"; then break; fi -- done - ]) - - AS_IF([test "x$with_lua" = "xyes"], [ diff --git a/net-mail/dovecot/files/dovecot-autoconf-lua-version.patch b/net-mail/dovecot/files/dovecot-autoconf-lua-version.patch new file mode 100644 index 000000000000..5572271929ef --- /dev/null +++ b/net-mail/dovecot/files/dovecot-autoconf-lua-version.patch @@ -0,0 +1,17 @@ +--- a/m4/want_lua.m4 ++++ b/m4/want_lua.m4 +@@ -13,13 +13,12 @@ + AC_MSG_RESULT([$with_lua]) + + AS_IF([test "x$with_lua" != "xno"], +- [for LUAPC in lua5.3 lua-5.3 lua53 lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua; do ++ [ + PKG_CHECK_MODULES([LUA], $LUAPC >= 5.1, [ + AC_DEFINE([HAVE_LUA], [1], [Define to 1 if you have lua]) + with_lua=yes + ], [LUAPC=""]) # otherwise pkg_check will fail + if test "x$LUA_LIBS" != "x"; then break; fi +- done + ]) + + AS_IF([test "x$with_lua" = "xyes"], [ diff --git a/net-mail/dovecot/files/dovecot-socket-name-too-long.patch b/net-mail/dovecot/files/dovecot-socket-name-too-long.patch new file mode 100644 index 000000000000..64c17f367b99 --- /dev/null +++ b/net-mail/dovecot/files/dovecot-socket-name-too-long.patch @@ -0,0 +1,11 @@ +--- a/src/imap/test-imap-client-hibernate.c 2021-01-05 11:42:53.073912808 +0300 ++++ b/src/imap/test-imap-client-hibernate.c 2021-01-05 11:43:49.790616213 +0300 +@@ -19,7 +19,7 @@ + + #include + +-#define TEMP_DIRNAME ".test-imap-client-hibernate" ++#define TEMP_DIRNAME ".t-ic-h" /* test-imap-client-hibernate */ + + #define EVILSTR "\t\r\n\001" + -- cgit v1.2.3