svn commit: r492044 - in head/sysutils/p5-Quota: . files
Kurt Jaeger
pi at FreeBSD.org
Sun Feb 3 10:33:56 UTC 2019
Author: pi
Date: Sun Feb 3 10:33:55 2019
New Revision: 492044
URL: https://svnweb.freebsd.org/changeset/ports/492044
Log:
sysutils/p5-Quota: unbreak build on 12.x
PR: 235450
Reported by: Scott Loga <cres24 at mac.com>
Added:
head/sysutils/p5-Quota/files/
head/sysutils/p5-Quota/files/patch-Quota.xs (contents, props changed)
head/sysutils/p5-Quota/files/patch-hints_bsd.h (contents, props changed)
Modified:
head/sysutils/p5-Quota/Makefile
Modified: head/sysutils/p5-Quota/Makefile
==============================================================================
--- head/sysutils/p5-Quota/Makefile Sun Feb 3 10:14:18 2019 (r492043)
+++ head/sysutils/p5-Quota/Makefile Sun Feb 3 10:33:55 2019 (r492044)
@@ -16,10 +16,4 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1200072
-BROKEN= Fails to build.
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Added: head/sysutils/p5-Quota/files/patch-Quota.xs
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/p5-Quota/files/patch-Quota.xs Sun Feb 3 10:33:55 2019 (r492044)
@@ -0,0 +1,11 @@
+--- Quota.xs.orig 2013-08-15 04:56:35 UTC
++++ Quota.xs
+@@ -309,7 +309,7 @@ struct rquota *rqp;
+ #endif /* MY_XDR */
+
+ #ifdef USE_EXT_RQUOTA
+-bool_t
++int
+ xdr_ext_getquota_args(xdrs, objp)
+ XDR *xdrs;
+ ext_getquota_args *objp;
Added: head/sysutils/p5-Quota/files/patch-hints_bsd.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/p5-Quota/files/patch-hints_bsd.h Sun Feb 3 10:33:55 2019 (r492044)
@@ -0,0 +1,14 @@
+--- hints/bsd.h.orig 2013-08-15 04:56:14 UTC
++++ hints/bsd.h
+@@ -71,8 +71,9 @@
+
+ #define NO_MNTENT
+
+-#define GQA_TYPE_USR RQUOTA_USRQUOTA
+-#define GQA_TYPE_GRP RQUOTA_GRPQUOTA
++/* from https://opensource.apple.com/source/NFS/NFS-63/rpc.rquotad/rquota.h.auto.html */
++#define GQA_TYPE_USR 0x00
++#define GQA_TYPE_GRP 0x01
+ #define GQR_STATUS status
+ #define GQR_RQUOTA getquota_rslt_u.gqr_rquota
+
More information about the svn-ports-all
mailing list