* updated krdc (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / mail / mess822 / errno.patch
blobb94230df5b8f83986fb2071569010823552d70f7
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../mess822/errno.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
16 --- ./cdb_seek.c.orig 2005-03-13 23:54:04.000000000 -0400
17 +++ ./cdb_seek.c 2005-03-13 23:55:56.056087544 -0400
18 @@ -1,6 +1,5 @@
19 #include <sys/types.h>
20 #include <errno.h>
21 -extern int errno;
22 #include "cdb.h"
24 #ifndef SEEK_SET
25 --- ./error.h.orig 2005-03-13 23:54:04.000000000 -0400
26 +++ ./error.h 2005-03-13 23:54:51.509900056 -0400
27 @@ -1,7 +1,7 @@
28 #ifndef ERROR_H
29 #define ERROR_H
31 -extern int errno;
32 +#include <errno.h>
34 extern int error_intr;
35 extern int error_nomem;
36 --- ./leapsecs_read.c.orig 2005-03-13 23:54:04.000000000 -0400
37 +++ ./leapsecs_read.c 2005-03-13 23:56:06.308528936 -0400
38 @@ -2,7 +2,6 @@
39 #include <sys/stat.h>
40 #include <fcntl.h>
41 #include <errno.h>
42 -extern int errno;
43 #include "tai.h"
44 #include "leapsecs.h"