diff options
author | obache <obache@pkgsrc.org> | 2011-04-03 09:18:44 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-04-03 09:18:44 +0000 |
commit | b734faf6f944fd5222978bbaa8b730f0e5f7a2fa (patch) | |
tree | ba9175993665103175977ff9ad95b2f04f02efb9 /net | |
parent | 39a9c1f495df6d97febbae3dea68c464d4ff6a1a (diff) | |
download | pkgsrc-b734faf6f944fd5222978bbaa8b730f0e5f7a2fa.tar.gz |
try to fix build with NetBSD>=5.
Diffstat (limited to 'net')
-rw-r--r-- | net/sharity-light/distinfo | 4 | ||||
-rw-r--r-- | net/sharity-light/patches/patch-ab | 11 |
2 files changed, 12 insertions, 3 deletions
diff --git a/net/sharity-light/distinfo b/net/sharity-light/distinfo index 570334b55bc..d3ec4b875b4 100644 --- a/net/sharity-light/distinfo +++ b/net/sharity-light/distinfo @@ -1,10 +1,10 @@ -$NetBSD: distinfo,v 1.6 2005/12/18 20:14:03 joerg Exp $ +$NetBSD: distinfo,v 1.7 2011/04/03 09:18:44 obache Exp $ SHA1 (Sharity-Light.1.2.tar.gz) = 4a8e93695b1772005e401c2aafbd3f5f70a3b30e RMD160 (Sharity-Light.1.2.tar.gz) = 35fba8ab2ebd98cf32f2b20ac0fc8325a6c69325 Size (Sharity-Light.1.2.tar.gz) = 76481 bytes SHA1 (patch-aa) = 349384306807e8d0e16334a2d9a7e7e0002ef8d1 -SHA1 (patch-ab) = 43a90b43d5ef7260eb7293e32e182c3c28426be4 +SHA1 (patch-ab) = 1f49eb5831020d9c491c2c872e07d68287e5c72a SHA1 (patch-ac) = 2087a294f04ff2cc4fc4edd1814807e6f01cd949 SHA1 (patch-ad) = 9d884d65a3f12de391a190a43104c97073dcc785 SHA1 (patch-ae) = a9f49fd4322f92f53e217b1fe9c5b3d54eb00515 diff --git a/net/sharity-light/patches/patch-ab b/net/sharity-light/patches/patch-ab index 02d35cf4ff8..bd1ac2dc0cb 100644 --- a/net/sharity-light/patches/patch-ab +++ b/net/sharity-light/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.4 2005/12/18 20:14:03 joerg Exp $ +$NetBSD: patch-ab,v 1.5 2011/04/03 09:18:45 obache Exp $ --- nfs/syscalls.c.orig 1998-06-30 12:24:56.000000000 +0000 +++ nfs/syscalls.c @@ -34,3 +34,12 @@ $NetBSD: patch-ab,v 1.4 2005/12/18 20:14:03 joerg Exp $ # ifdef _NEW_VFSCONF # define GETVFSBYNAME error = getvfsbyname("nfs", &vfc) # define VFCERROR error +@@ -113,6 +120,8 @@ struct nfs_args nfs_args; + if (VFCERROR) + return -1; + return mount(VFCNFSNAME, dir, 0, &nfs_args); ++#elif defined(__NetBSD__) && __NetBSD_Version__ >=499002400 ++ return mount(NFSNAME, dir, 0, &nfs_args, sizeof(nfs_args)); + #else /* __FreeBSD__ */ + return mount(NFSNAME, dir, 0, &nfs_args); + #endif /* __FreeBSD__ */ |