Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Sep 2020 06:28:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r548813 - head/mail/mailutils/files
Message-ID:  <202009170628.08H6S0O7059174@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
+ 	}
+     }
+   



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009170628.08H6S0O7059174>