summaryrefslogtreecommitdiff
path: root/security/sfs
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2018-03-12 00:29:24 +0000
committerdholland <dholland@pkgsrc.org>2018-03-12 00:29:24 +0000
commitd3741fb89748d5a9f7f2d36ddc6ee00d2e4ea14f (patch)
tree819f9ee7bee36e6f58f70faa548d6ea8bb8a4654 /security/sfs
parentcf3d3b8d5b108dcc68aef02cecefee7005a27d39 (diff)
downloadpkgsrc-d3741fb89748d5a9f7f2d36ddc6ee00d2e4ea14f.tar.gz
Fix (mis)use of __NetBSD_Prereq__ per PR 38051.
Diffstat (limited to 'security/sfs')
-rw-r--r--security/sfs/distinfo4
-rw-r--r--security/sfs/patches/patch-bv4
2 files changed, 4 insertions, 4 deletions
diff --git a/security/sfs/distinfo b/security/sfs/distinfo
index 0481b460feb..7c1d5bdce9a 100644
--- a/security/sfs/distinfo
+++ b/security/sfs/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.8 2017/09/10 01:49:40 dholland Exp $
+$NetBSD: distinfo,v 1.9 2018/03/12 00:29:24 dholland Exp $
SHA1 (sfs-0.7.2.tar.gz) = 3619afc9b785e4aa41f7cdf202c5b233a6b5fe08
RMD160 (sfs-0.7.2.tar.gz) = 30cd5e21c4f63292ef0f5671720f6036d08e5ff1
@@ -53,5 +53,5 @@ SHA1 (patch-br) = 411b894e043d105402ab7d0622fc843703457639
SHA1 (patch-bs) = a426787d1b2a74a92a091046c1c9fdf7696a87f4
SHA1 (patch-bt) = 41b1359d716493aadd861818c9a377247191ecec
SHA1 (patch-bu) = 42924f5d59315b99d3d397eedde977366ec0ad96
-SHA1 (patch-bv) = d77635ff12f3b6324fc76fbad7ad8a314c2cb12e
+SHA1 (patch-bv) = 36e4df6ad019ce5f553ce85924250aed0c6e8023
SHA1 (patch-rpcc_genheader.C) = c6e7bfc4035bd15568fda3050a63157b372ebf06
diff --git a/security/sfs/patches/patch-bv b/security/sfs/patches/patch-bv
index 8c4e3d56b9f..2366b264b72 100644
--- a/security/sfs/patches/patch-bv
+++ b/security/sfs/patches/patch-bv
@@ -1,4 +1,4 @@
-$NetBSD: patch-bv,v 1.1 2008/02/16 22:03:49 apb Exp $
+$NetBSD: patch-bv,v 1.2 2018/03/12 00:29:24 dholland Exp $
--- nfsconf.h.orig 2002-09-19 06:15:18.000000000 +0200
+++ nfsconf.h
@@ -6,7 +6,7 @@ $NetBSD: patch-bv,v 1.1 2008/02/16 22:03:49 apb Exp $
#define SYS_MOUNT(hostname, type, dir, mntflags, args) \
vfsmount (type, dir, mntflags, args)
-+#elif defined(__NetBSD__) && __NetBSD_Prereq__(4,99,24)
++#elif defined(__NetBSD__) && __NetBSD_Version__ >= 499002400
+ /* The fifth arg appeared in NetBSD between 4.99.23 and 4.99.24 */
+#define SYS_MOUNT(hostname, type, dir, mntflags, args) \
+ mount (type, dir, mntflags, args, sizeof(*(args)))