summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-04-20 10:49:30 +0000
committerMike Frysinger <vapier@gentoo.org>2008-04-20 10:49:30 +0000
commit66d734f503b84d1172c0667398690cb37d72d488 (patch)
treebc354b2944316d78cc4871ce0d698ff8a08f0f5c /net-fs
parentVersion bump. (diff)
downloadgentoo-2-66d734f503b84d1172c0667398690cb37d72d488.tar.gz
gentoo-2-66d734f503b84d1172c0667398690cb37d72d488.tar.bz2
gentoo-2-66d734f503b84d1172c0667398690cb37d72d488.zip
Make sure rpcgen includes sys/ioctl.h #174393.
(Portage version: 2.2_pre5)
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/nfs-utils/ChangeLog6
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch14
-rw-r--r--net-fs/nfs-utils/nfs-utils-1.1.2.ebuild8
3 files changed, 26 insertions, 2 deletions
diff --git a/net-fs/nfs-utils/ChangeLog b/net-fs/nfs-utils/ChangeLog
index 74bb9ffa04d2..faef152b3195 100644
--- a/net-fs/nfs-utils/ChangeLog
+++ b/net-fs/nfs-utils/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-fs/nfs-utils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.123 2008/04/20 10:41:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/ChangeLog,v 1.124 2008/04/20 10:49:29 vapier Exp $
+
+ 20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/nfs-utils-1.1.2-rpcgen-ioctl.patch, nfs-utils-1.1.2.ebuild:
+ Make sure rpcgen includes sys/ioctl.h #174393.
*nfs-utils-1.1.2 (20 Apr 2008)
diff --git a/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch b/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch
new file mode 100644
index 000000000000..2115345755ed
--- /dev/null
+++ b/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/174393
+
+--- tools/rpcgen/rpc_main.c
++++ tools/rpcgen/rpc_main.c
+@@ -548,6 +548,9 @@
+ #ifndef linux
+ if( !tirpcflag && inetdflag )
+ f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
++#else
++ if( !tirpcflag )
++ f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n");
+ #endif
+ if( Cflag && (inetdflag || pmflag ) ) {
+ f_print(fout, "#ifdef __cplusplus\n");
diff --git a/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild b/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
index 121220ca9c5b..f8df80a4253a 100644
--- a/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
+++ b/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.1.2.ebuild,v 1.1 2008/04/20 10:41:58 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/nfs-utils/nfs-utils-1.1.2.ebuild,v 1.2 2008/04/20 10:49:29 vapier Exp $
inherit eutils flag-o-matic multilib
@@ -32,6 +32,12 @@ RDEPEND="tcpd? ( sys-apps/tcp-wrappers )
DEPEND="${RDEPEND}
>=sys-apps/util-linux-2.12r-r7"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-rpcgen-ioctl.patch
+}
+
src_compile() {
econf \
--mandir=/usr/share/man \