svn commit: r548813 - head/mail/mailutils/files
Alexey Dokuchaev
danfe at FreeBSD.org
Thu Sep 17 06:28:00 UTC 2020
Author: danfe
Date: Thu Sep 17 06:27:59 2020
New Revision: 548813
URL: https://svnweb.freebsd.org/changeset/ports/548813
Log:
Backport upstream patch to unbreak the build with SQL support enabled.
PR: 249358
Added:
head/mail/mailutils/files/patch-mda_lib_mailquota.c (contents, props changed)
Added: head/mail/mailutils/files/patch-mda_lib_mailquota.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/mailutils/files/patch-mda_lib_mailquota.c Thu Sep 17 06:27:59 2020 (r548813)
@@ -0,0 +1,22 @@
+--- mda/lib/mailquota.c.orig 2020-08-08 20:32:07 UTC
++++ 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;
+ }
+ }
+
More information about the svn-ports-head
mailing list