diff options
author | bouyer <bouyer> | 2011-03-26 18:45:51 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2011-03-26 18:45:51 +0000 |
commit | d26ca0904ea760f07f5ee382d179b3217c1929a8 (patch) | |
tree | c552bc66173bf2ea21d9251a46fa4c7bafab4eec /net/netatalk/patches | |
parent | c38f121d6b8152d0b09e7b5fdaefca82bc8faa2a (diff) | |
download | pkgsrc-d26ca0904ea760f07f5ee382d179b3217c1929a8.tar.gz |
Add CVS Id where missing
Fix patch to quota-check.m4 so that the autoconf'ed configure will
define HAVE_LIBQUOTA too
Use QL_STATUS(quota_check_limit()) instead of quota_check_limit(). This is
the only visible change in binaries.
Do not bump PKGREVISION as the previous code has been there for only a few
hours.
Diffstat (limited to 'net/netatalk/patches')
-rw-r--r-- | net/netatalk/patches/patch-ar | 7 | ||||
-rw-r--r-- | net/netatalk/patches/patch-as | 2 | ||||
-rw-r--r-- | net/netatalk/patches/patch-at | 6 | ||||
-rw-r--r-- | net/netatalk/patches/patch-au | 2 |
4 files changed, 12 insertions, 5 deletions
diff --git a/net/netatalk/patches/patch-ar b/net/netatalk/patches/patch-ar index 25945ccd4cd..b74be161035 100644 --- a/net/netatalk/patches/patch-ar +++ b/net/netatalk/patches/patch-ar @@ -1,12 +1,13 @@ -$NetBSD: patch-ar,v 1.4 2011/03/26 13:46:19 bouyer Exp $ +$NetBSD: patch-ar,v 1.5 2011/03/26 18:45:52 bouyer Exp $ --- macros/quota-check.m4.orig 2011-03-23 21:42:43.000000000 +0100 +++ macros/quota-check.m4 2011-03-23 21:44:10.000000000 +0100 -@@ -15,6 +15,7 @@ +@@ -15,6 +15,8 @@ netatalk_cv_quotasupport="no" AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled]) ]) -+ AC_CHECK_LIB(quota, getfsquota, [QUOTA_LIBS="-lquota -lprop -lrpcsvc"], [], [-lprop -lrpcsvc]) ++ AC_CHECK_LIB(quota, getfsquota, [QUOTA_LIBS="-lquota -lprop -lrpcsvc" ++ AC_DEFINE(HAVE_LIBQUOTA, 1, [define if you have libquota])], [], [-lprop -lrpcsvc]) else netatalk_cv_quotasupport="no" AC_DEFINE(NO_QUOTA_SUPPORT, 1, [Define if quota support should not compiled]) diff --git a/net/netatalk/patches/patch-as b/net/netatalk/patches/patch-as index 3c4b4784840..80ffc282e14 100644 --- a/net/netatalk/patches/patch-as +++ b/net/netatalk/patches/patch-as @@ -1,3 +1,5 @@ +$NetBSD: patch-as,v 1.5 2011/03/26 18:45:52 bouyer Exp $ + --- etc/afpd/nfsquota.c.orig 2010-06-29 17:30:04.000000000 +0200 +++ etc/afpd/nfsquota.c 2011-03-24 15:42:56.000000000 +0100 @@ -18,7 +18,7 @@ diff --git a/net/netatalk/patches/patch-at b/net/netatalk/patches/patch-at index c53801066de..c8e21fb5e8f 100644 --- a/net/netatalk/patches/patch-at +++ b/net/netatalk/patches/patch-at @@ -1,3 +1,5 @@ +$NetBSD: patch-at,v 1.5 2011/03/26 18:45:52 bouyer Exp $ + --- etc/afpd/quota.c.orig 2011-03-24 15:43:48.000000000 +0100 +++ etc/afpd/quota.c 2011-03-24 17:56:34.000000000 +0100 @@ -47,6 +47,96 @@ @@ -34,10 +36,10 @@ + if (retq < 1) + return retq; + -+ switch(quota_check_limit(ufsq[QUOTA_LIMIT_BLOCK].ufsqe_cur, 1, ++ switch(QL_STATUS(quota_check_limit(ufsq[QUOTA_LIMIT_BLOCK].ufsqe_cur, 1, + ufsq[QUOTA_LIMIT_BLOCK].ufsqe_softlimit, + ufsq[QUOTA_LIMIT_BLOCK].ufsqe_hardlimit, -+ ufsq[QUOTA_LIMIT_BLOCK].ufsqe_time, now)) { ++ ufsq[QUOTA_LIMIT_BLOCK].ufsqe_time, now))) { + case QL_S_DENY_HARD: + case QL_S_DENY_GRACE: + *bfree = 0; diff --git a/net/netatalk/patches/patch-au b/net/netatalk/patches/patch-au index bbb18233f23..34416c27187 100644 --- a/net/netatalk/patches/patch-au +++ b/net/netatalk/patches/patch-au @@ -1,3 +1,5 @@ +$NetBSD: patch-au,v 1.5 2011/03/26 18:45:53 bouyer Exp $ + --- etc/afpd/unix.h.orig 2011-03-24 16:40:15.000000000 +0100 +++ etc/afpd/unix.h 2011-03-24 16:43:15.000000000 +0100 @@ -59,6 +59,7 @@ |