summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-08-25 02:43:19 +0000
committerMike Frysinger <vapier@gentoo.org>2009-08-25 02:43:19 +0000
commitb75a18b371a2274aee8def3336899a932e457bfc (patch)
tree3b4c74440ae6a70b5f51b660d09b6507b1f124b9 /net-fs/nfs-utils/files
parentVersion bump (diff)
downloadgentoo-2-b75a18b371a2274aee8def3336899a932e457bfc.tar.gz
gentoo-2-b75a18b371a2274aee8def3336899a932e457bfc.tar.bz2
gentoo-2-b75a18b371a2274aee8def3336899a932e457bfc.zip
Update rpcgen ioctl patch to reflect changes in upstream.
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-fs/nfs-utils/files')
-rw-r--r--net-fs/nfs-utils/files/nfs-utils-1.1.4-rpcgen-ioctl.patch (renamed from net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch)9
1 files changed, 4 insertions, 5 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.4-rpcgen-ioctl.patch
index 2115345755ed..176541845ed9 100644
--- a/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch
+++ b/net-fs/nfs-utils/files/nfs-utils-1.1.4-rpcgen-ioctl.patch
@@ -2,12 +2,11 @@ http://bugs.gentoo.org/174393
--- tools/rpcgen/rpc_main.c
+++ tools/rpcgen/rpc_main.c
-@@ -548,6 +548,9 @@
- #ifndef linux
- if( !tirpcflag && inetdflag )
+@@ -548,7 +548,7 @@
f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
-+#else
-+ if( !tirpcflag )
+ #else
+ if( !tirpcflag )
+- f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
+ f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n");
#endif
if( Cflag && (inetdflag || pmflag ) ) {