1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../tcp_wrappers/errno-fix.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
8 # More information can be found in the files COPYING and README.
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
16 # --- T2-COPYRIGHT-NOTE-END ---
18 diff -urN tcp_wrappers_7.6-orig/hosts_access.c tcp_wrappers_7.6/hosts_access.c
19 --- tcp_wrappers_7.6-orig/hosts_access.c 1997-02-12 02:13:23.000000000 +0100
20 +++ tcp_wrappers_7.6/hosts_access.c 2003-03-05 16:07:28.000000000 +0100
26 +/*extern int errno;*/
29 #define INADDR_NONE (-1) /* XXX should be 0xffffffff */
30 diff -urN tcp_wrappers_7.6-orig/inetcf.c tcp_wrappers_7.6/inetcf.c
31 --- tcp_wrappers_7.6-orig/inetcf.c 1997-02-12 02:13:24.000000000 +0100
32 +++ tcp_wrappers_7.6/inetcf.c 2003-03-05 16:07:41.000000000 +0100
38 +/*extern int errno;*/
42 diff -urN tcp_wrappers_7.6-orig/percent_m.c tcp_wrappers_7.6/percent_m.c
43 --- tcp_wrappers_7.6-orig/percent_m.c 1994-12-28 17:42:37.000000000 +0100
44 +++ tcp_wrappers_7.6/percent_m.c 2003-03-05 16:07:58.000000000 +0100
50 +/*extern int errno;*/
51 #ifndef SYS_ERRLIST_DEFINED
52 extern char *sys_errlist[];
54 diff -urN tcp_wrappers_7.6-orig/tcpdchk.c tcp_wrappers_7.6/tcpdchk.c
55 --- tcp_wrappers_7.6-orig/tcpdchk.c 1997-02-12 02:13:25.000000000 +0100
56 +++ tcp_wrappers_7.6/tcpdchk.c 2003-03-05 16:08:14.000000000 +0100
62 +/*extern int errno;*/
66 diff -urN tcp_wrappers_7.6-orig/tli-sequent.c tcp_wrappers_7.6/tli-sequent.c
67 --- tcp_wrappers_7.6-orig/tli-sequent.c 1994-12-28 17:42:51.000000000 +0100
68 +++ tcp_wrappers_7.6/tli-sequent.c 2003-03-05 16:08:32.000000000 +0100
74 +/*extern int errno;*/
75 extern char *sys_errlist[];
78 diff -urN tcp_wrappers_7.6-orig/tli.c tcp_wrappers_7.6/tli.c
79 --- tcp_wrappers_7.6-orig/tli.c 1997-03-21 19:27:26.000000000 +0100
80 +++ tcp_wrappers_7.6/tli.c 2003-03-05 16:08:45.000000000 +0100
84 extern char *nc_sperror();
86 +/*extern int errno;*/
87 extern char *sys_errlist[];
90 diff -urN tcp_wrappers_7.6-orig/workarounds.c tcp_wrappers_7.6/workarounds.c
91 --- tcp_wrappers_7.6-orig/workarounds.c 1996-03-19 16:22:26.000000000 +0100
92 +++ tcp_wrappers_7.6/workarounds.c 2003-03-05 16:08:59.000000000 +0100
98 +/*extern int errno;*/