diff options
author | Eray Aslan <eras@gentoo.org> | 2020-08-28 08:42:49 +0300 |
---|---|---|
committer | Eray Aslan <eras@gentoo.org> | 2020-08-28 08:42:49 +0300 |
commit | 8433b7974ff468f51397394afb1b8a204048868e (patch) | |
tree | b86d15ebabe6ca6e15b50f9514b4798492e105cb /net-mail/mailutils/files | |
parent | app-arch/p7zip: downgrage to eapi6 for need-wxwidget support (diff) | |
download | gentoo-8433b7974ff468f51397394afb1b8a204048868e.tar.gz gentoo-8433b7974ff468f51397394afb1b8a204048868e.tar.bz2 gentoo-8433b7974ff468f51397394afb1b8a204048868e.zip |
net-mail/mailutils: bump to 3.10
Closes: https://bugs.gentoo.org/738032
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Eray Aslan <eras@gentoo.org>
Diffstat (limited to 'net-mail/mailutils/files')
-rw-r--r-- | net-mail/mailutils/files/mailutils-3.10-get_size.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net-mail/mailutils/files/mailutils-3.10-get_size.patch b/net-mail/mailutils/files/mailutils-3.10-get_size.patch new file mode 100644 index 000000000000..3ec15968916b --- /dev/null +++ b/net-mail/mailutils/files/mailutils-3.10-get_size.patch @@ -0,0 +1,38 @@ +From 37713b42a501892469234b90454731d8d8b7a3e6 Mon Sep 17 00:00:00 2001 +From: Sergey Poznyakoff <gray@gnu.org> +Date: Mon, 17 Aug 2020 20:34:21 +0300 +Subject: Bugfix (complements fd9a86d37b) + +* mda/lib/mailquota.c (sql_retrieve_quota): Fix a leftover use of +get_size. +--- + mda/lib/mailquota.c | 12 +++--------- + 1 file changed, 3 insertions(+), 9 deletions(-) + +diff --git a/mda/lib/mailquota.c b/mda/lib/mailquota.c +index 7b7dd52d9..af719a591 100644 +--- a/mda/lib/mailquota.c ++++ b/mda/lib/mailquota.c +@@ -270,16 +270,10 @@ sql_retrieve_quota (char *name, mu_off_t *quota) + } + else if (tmp == NULL || tmp[0] == 0 || mu_c_strcasecmp (tmp, "none") == 0) + rc = RETR_UNLIMITED; +- else ++ else if (get_quota (quota, tmp)) + { +- char *p; +- +- if (get_size (tmp, quota, &p)) +- { +- mu_error (_("bogus mailbox quota for `%s' (near `%s')"), +- name, p); +- *quota = groupquota; +- } ++ *quota = groupquota; ++ rc = RETR_OK; + } + } + +-- +cgit v1.2.1 + |