Date: Mon, 4 Feb 2019 16:06:33 -0800 From: Tim Rice <tim@xinuos.com> To: ports@freebsd.org Subject: p5-Quota on 12 Message-ID: <103fda1e-d3f7-23dc-8a2b-d048fb4569c6@xinuos.com>
next in thread | raw e-mail | index | archive | help
I was trying to figure out why ldap-account-manager was missing from the ports on 12 and discovered p5-Quota was marked as broken. Looking at p5-Quota we see that the r336017 code added to rpcsvc/rquota.h triggered the #if defined (EXT_RQUOTAVERS) section of hints/bsd.h causing the breakage. If we patch hints/bsd.h like this, the module will build again. ....... --- hints/bsd.h.orig 2013-08-14 21:56:14.000000000 -0700 +++ hints/bsd.h 2019-02-04 14:47:46.935527000 -0800 @@ -65,7 +65,7 @@ #define MY_XDR -#if defined (EXT_RQUOTAVERS) +#if defined (EXT_RQUOTAVERS) && (__FreeBSD__ < 12) #define USE_EXT_RQUOTA /* RPC version 2 aka extended quota RPC */ #endif ....... It is possible it would be better to +#if defined (EXT_RQUOTAVERS) && !defined(__FreeBSD__) I hope this helps someone. -- Tim Rice tim@xinuos.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?103fda1e-d3f7-23dc-8a2b-d048fb4569c6>