nvi-19-include_term_h.patch (884B)
1 #! /bin/sh /usr/share/dpatch/dpatch-run 2 ## 19include_term_h.dpatch by <hesso@pool.math.tu-berlin.de> 3 ## 4 ## DP: Add <term.h> to the include list to suppress a few warnings. 5 6 @DPATCH@ 7 diff -Naur nvi-1.81.6.orig/cl/cl_funcs.c nvi-1.81.6/cl/cl_funcs.c 8 --- nvi-1.81.6.orig/cl/cl_funcs.c 2007-11-18 17:41:42.000000000 +0100 9 +++ nvi-1.81.6/cl/cl_funcs.c 2008-05-01 18:23:08.000000000 +0200 10 @@ -18,6 +18,7 @@ 11 #include <sys/time.h> 12 13 #include <bitstring.h> 14 +#include <term.h> 15 #include <ctype.h> 16 #include <signal.h> 17 #include <stdio.h> 18 diff -Naur nvi-1.81.6.orig/cl/cl_screen.c nvi-1.81.6/cl/cl_screen.c 19 --- nvi-1.81.6.orig/cl/cl_screen.c 2007-11-18 17:41:42.000000000 +0100 20 +++ nvi-1.81.6/cl/cl_screen.c 2008-05-01 18:23:02.000000000 +0200 21 @@ -17,6 +17,7 @@ 22 #include <sys/queue.h> 23 24 #include <bitstring.h> 25 +#include <term.h> 26 #include <errno.h> 27 #include <signal.h> 28 #include <stdio.h>