1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../screen/glibc23.patch
5 # Copyright (C) 2004 - 2006 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 --- ./extern.h.orig 2003-03-12 17:57:42.000000000 +0100
19 +++ ./extern.h 2003-03-12 17:58:09.000000000 +0100
21 #if defined(POSIX) || defined(hpux)
22 extern void (*xsignal __P((int, void (*)SIGPROTOARG))) __P(SIGPROTOARG);
25 -extern int rename __P((char *, char *));
27 +// #ifndef HAVE_RENAME
28 +// extern int rename __P((char *, char *));
30 #if defined(HAVE_SETEUID) || defined(HAVE_SETREUID)
31 extern void xseteuid __P((int));
32 extern void xsetegid __P((int));
33 --- ./os.h.orig 2003-03-12 18:00:22.000000000 +0100
34 +++ ./os.h 2003-03-12 18:01:00.000000000 +0100
39 -#ifndef HAVE_VSNPRINTF
40 -# define vsnprintf xvsnprintf
42 +// #ifndef HAVE_VSNPRINTF
43 +// # define vsnprintf xvsnprintf
47 # include <netinet/in.h>
48 --- ./misc.c.orig 2003-03-12 17:58:44.000000000 +0100
49 +++ ./misc.c 2003-03-12 17:59:45.000000000 +0100
54 - extern char *sys_errlist[];
55 +//extern char *sys_errlist[];
58 if (err > 0 && err < sys_nerr)