diff options
Diffstat (limited to 'net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch')
-rw-r--r-- | net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch | 14 |
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 0000000..2115345 --- /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"); |