* updated kgoldrunner (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / php / php4 / errno.patch
blobb10af12faa7e54d251e9573b4b0b4e1d7089e214
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../php4/errno.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
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
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 diff -BurN ./ext/mysql/libmysql.org/my_sys.h ./ext/mysql/libmysql/my_sys.h
19 --- ./ext/mysql/libmysql.org/my_sys.h Fri Jun 7 17:07:54 2002
20 +++ ./ext/mysql/libmysql/my_sys.h Wed Mar 19 16:58:01 2003
21 @@ -148,8 +148,4 @@
23 -#ifdef HAVE_ERRNO_AS_DEFINE
24 #include <errno.h> /* errno is a define */
25 -#else
26 -extern int errno; /* declare errno */
27 -#endif
28 extern const char ** NEAR my_errmsg[];
29 extern char NEAR errbuff[NRERRBUFFS][ERRMSGSIZE];