1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../php4/errno.patch
5 # Copyright (C) 2008 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 -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
23 -#ifdef HAVE_ERRNO_AS_DEFINE
24 #include <errno.h> /* errno is a define */
26 -extern int errno; /* declare errno */
28 extern const char ** NEAR my_errmsg[];
29 extern char NEAR errbuff[NRERRBUFFS][ERRMSGSIZE];