summaryrefslogtreecommitdiff
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/nfs-utils/files
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/nfs-utils/files')
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch14
1 files changed, 14 insertions, 0 deletions
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");