nfs-utils: added gcc4 patch

This commit is contained in:
Simone Rota 2006-02-23 18:02:25 +00:00
parent 76c166c262
commit 419a0c0844
3 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,5 @@
c5ccf58f5f9f57aba75c8b72219eb6e6 exports
73ad69a472b77946167025b946e0794a nfs
574fc0ec4e129751bd8884fdc4558558 nfs-utils-1.0.7-gcc4.patch
8f863120261cd572ad320a9152581e11 nfs-utils-1.0.7.tar.gz
91238e88d73c9841b9e8beb24aafa873 nfsserver

View File

@ -4,12 +4,14 @@
name=nfs-utils
version=1.0.7
release=2
release=3
source=(http://dl.sourceforge.net/nfs/$name-$version.tar.gz \
$name-$version-gcc4.patch \
exports nfs nfsserver)
build () {
cd $name-$version
patch -p1 < ../$name-$version-gcc4.patch
./configure --prefix=/usr \
--enable-nfsv3 \
--disable-nfsv4 \

View File

@ -0,0 +1,15 @@
diff -Nru nfs-utils-1.0.7/support/rpc/svc_auth_gss.c nfs-utils-1.0.7-gcc4/support/rpc/svc_auth_gss.c
--- nfs-utils-1.0.7/support/rpc/svc_auth_gss.c 2004-10-19 00:23:05.000000000 +0000
+++ nfs-utils-1.0.7-gcc4/support/rpc/svc_auth_gss.c 2005-10-20 19:42:05.000000000 +0000
@@ -382,7 +382,11 @@
return (AUTH_FAILED);
}
auth->svc_ah_ops = &svc_auth_gss_ops;
+
+ /*
SVCAUTH_PRIVATE(auth) = gd;
+ */
+ auth->svc_ah_private = (caddr_t) gd;
rqst->rq_xprt->xp_auth = auth;
}
else gd = SVCAUTH_PRIVATE(rqst->rq_xprt->xp_auth);