aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/setquota
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2002-10-21 05:26:38 +0800
committerkris <kris@FreeBSD.org>2002-10-21 05:26:38 +0800
commitbace6b9eed046cdb6fd7be401b6b01f77752748f (patch)
treebbbd310dbaf825cba4d5e112a322b8e9ee8a31d0 /sysutils/setquota
parent43e1759bbb04d1a4996c08393e8011e693b4f1eb (diff)
downloadfreebsd-ports-gnome-bace6b9eed046cdb6fd7be401b6b01f77752748f.tar.gz
freebsd-ports-gnome-bace6b9eed046cdb6fd7be401b6b01f77752748f.tar.zst
freebsd-ports-gnome-bace6b9eed046cdb6fd7be401b6b01f77752748f.zip
Fix build on -current (#ifdef 0 -> #if 0)
Diffstat (limited to 'sysutils/setquota')
-rw-r--r--sysutils/setquota/files/patch-ab11
-rw-r--r--sysutils/setquota/files/patch-ac20
2 files changed, 31 insertions, 0 deletions
diff --git a/sysutils/setquota/files/patch-ab b/sysutils/setquota/files/patch-ab
new file mode 100644
index 000000000000..9657b54b3d45
--- /dev/null
+++ b/sysutils/setquota/files/patch-ab
@@ -0,0 +1,11 @@
+--- printquota.c.orig Sun Oct 20 14:27:13 2002
++++ printquota.c Sun Oct 20 14:27:21 2002
+@@ -109,7 +109,7 @@
+
+ if (now == 0)
+ time(&now);
+-#ifdef 0
++#if 0
+ if (now > seconds)
+ return("none");
+ seconds -= now;
diff --git a/sysutils/setquota/files/patch-ac b/sysutils/setquota/files/patch-ac
new file mode 100644
index 000000000000..d50e038b8942
--- /dev/null
+++ b/sysutils/setquota/files/patch-ac
@@ -0,0 +1,20 @@
+--- setquota.c.orig Sun Oct 20 14:27:31 2002
++++ setquota.c Sun Oct 20 14:27:41 2002
+@@ -62,7 +62,7 @@
+ qm->dq_dqb.dqb_bhardlimit = v_bh;
+ if (f_bs)
+ qm->dq_dqb.dqb_bsoftlimit = v_bs;
+-#ifdef 0
++#if 0
+ if (f_bg)
+ qm->dq_dqb.dqb_btime = v_bg;
+ #endif
+@@ -70,7 +70,7 @@
+ qm->dq_dqb.dqb_ihardlimit = v_ih;
+ if (f_is)
+ qm->dq_dqb.dqb_isoftlimit = v_is;
+-#ifdef 0
++#if 0
+ if (f_ig)
+ qm->dq_dqb.dqb_itime = v_ig;
+ #endif