summaryrefslogtreecommitdiffstats
path: root/patches/nfs-utils-1.1.6
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-05-03 10:54:12 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-05-03 10:54:12 +0000
commit0c3a510c37d4c2a80a3c581132c70c4ba9e43fec (patch)
treeded2c7c5708689a22594d773a72a065968cb28c2 /patches/nfs-utils-1.1.6
parent4aaa79062b7481717de3244007896eac555b43da (diff)
downloadptxdist-0c3a510c37d4c2a80a3c581132c70c4ba9e43fec.tar.gz
ptxdist-0c3a510c37d4c2a80a3c581132c70c4ba9e43fec.tar.xz
* nfs-utils: update to 1.1.6
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10341 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/nfs-utils-1.1.6')
-rw-r--r--patches/nfs-utils-1.1.6/generic/nfs-utils-1.1.6-ttycom.diff29
-rw-r--r--patches/nfs-utils-1.1.6/generic/series1
2 files changed, 30 insertions, 0 deletions
diff --git a/patches/nfs-utils-1.1.6/generic/nfs-utils-1.1.6-ttycom.diff b/patches/nfs-utils-1.1.6/generic/nfs-utils-1.1.6-ttycom.diff
new file mode 100644
index 000000000..fdc091f3b
--- /dev/null
+++ b/patches/nfs-utils-1.1.6/generic/nfs-utils-1.1.6-ttycom.diff
@@ -0,0 +1,29 @@
+Subject: use ioctl.h instead of ttycom.h on Linux
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+
+When compiling nfs-utils-1.1.6, I get this error:
+
+arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
+sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
+
+Use sys/ioctl.h instead.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ tools/rpcgen/rpc_main.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+Index: nfs-utils-1.1.6/tools/rpcgen/rpc_main.c
+===================================================================
+--- nfs-utils-1.1.6.orig/tools/rpcgen/rpc_main.c
++++ nfs-utils-1.1.6/tools/rpcgen/rpc_main.c
+@@ -550,7 +550,7 @@ s_output(int argc, char **argv, char *in
+ f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
+ #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 ) ) {
+ f_print(fout, "#ifdef __cplusplus\n");
diff --git a/patches/nfs-utils-1.1.6/generic/series b/patches/nfs-utils-1.1.6/generic/series
new file mode 100644
index 000000000..3024abc8c
--- /dev/null
+++ b/patches/nfs-utils-1.1.6/generic/series
@@ -0,0 +1 @@
+nfs-utils-1.1.6-ttycom.diff