summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-09 03:12:45 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-09 03:12:45 +0000
commit12c8c720112e2e34c64bf1c9fca7ac983ba1c7b0 (patch)
tree7a10acb2a08cc7173e36035506d5857feee88218 /net-fs/nfs-utils
parentAdded patch to fix decorations. Closes #86970. (diff)
downloadgentoo-2-12c8c720112e2e34c64bf1c9fca7ac983ba1c7b0.tar.gz
gentoo-2-12c8c720112e2e34c64bf1c9fca7ac983ba1c7b0.tar.bz2
gentoo-2-12c8c720112e2e34c64bf1c9fca7ac983ba1c7b0.zip
gcc4 patch from upstream #88421
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-fs/nfs-utils')
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch17
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild5
2 files changed, 21 insertions, 1 deletions
diff --git a/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch b/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch
new file mode 100644
index 000000000000..23ed5280cebf
--- /dev/null
+++ b/net-fs/nfs-utils/files/nfs-utils-1.0.7-gcc4.patch
@@ -0,0 +1,17 @@
+http://bugs.gentoo.org/show_bug.cgi?id=88421
+
+Index: svc_auth_gss.c
+===================================================================
+RCS file: /cvsroot/nfs/nfs-utils/support/rpc/svc_auth_gss.c,v
+diff -u -r1.1 -r1.2
+--- nfs-utils/support/rpc/svc_auth_gss.c
++++ nfs-utils/support/rpc/svc_auth_gss.c
+@@ -382,7 +382,7 @@
+ 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);
diff --git a/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild b/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
index 0e890312907a..ccbb15defd06 100644
--- a/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild,v 1.3 2005/04/01 22:55:16 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.0.7-r1.ebuild,v 1.4 2005/04/09 03:12:45 vapier Exp $
inherit gnuconfig eutils flag-o-matic
@@ -32,6 +32,9 @@ src_unpack() {
unpack ${A}
cd "${S}"
+ # Fix gcc4 issues #88421
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+
# getrpcbynumber_r is not in the SuSv3 spec. disable it for uClibc
epatch "${FILESDIR}"/nfs-utils-1.0.6-uclibc.patch