Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-fs/nfs-utils/files: nfs-utils-1.1.2-rpcgen-ioctl.patch
Date: Sun, 20 Apr 2008 10:49:33
Message-Id: E1JnX6w-0002pp-Lh@stork.gentoo.org
1 vapier 08/04/20 10:49:30
2
3 Added: nfs-utils-1.1.2-rpcgen-ioctl.patch
4 Log:
5 Make sure rpcgen includes sys/ioctl.h #174393.
6 (Portage version: 2.2_pre5)
7
8 Revision Changes Path
9 1.1 net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-fs/nfs-utils/files/nfs-utils-1.1.2-rpcgen-ioctl.patch?rev=1.1&content-type=text/plain
13
14 Index: nfs-utils-1.1.2-rpcgen-ioctl.patch
15 ===================================================================
16 http://bugs.gentoo.org/174393
17
18 --- tools/rpcgen/rpc_main.c
19 +++ tools/rpcgen/rpc_main.c
20 @@ -548,6 +548,9 @@
21 #ifndef linux
22 if( !tirpcflag && inetdflag )
23 f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
24 +#else
25 + if( !tirpcflag )
26 + f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n");
27 #endif
28 if( Cflag && (inetdflag || pmflag ) ) {
29 f_print(fout, "#ifdef __cplusplus\n");
30
31
32
33 --
34 gentoo-commits@l.g.o mailing list