summaryrefslogtreecommitdiff
blob: 817f05ca08888681a96a6d726c9a807f01c14a35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
GCC4.4 header requirements.

X-Gentoo-Bug: 30522
X-Gentoo-Patch: http://bugs.gentoo.org/attachment.cgi?id=220053&action=view
X-Ported: from 07280_all_stdbool-maria-5.1.42.patch
X-Ported: from 07280_all_stdbool-5.1.44.patch
X-Ported: from 07280_all_stdbool-5.0.90.patch

diff -Nuar --exclude '*.orig' mysql/extra/replace.c mysql.new/extra/replace.c
--- mysql/extra/replace.c       2010-01-31 04:17:57.000000000 -0500
+++ mysql.new/extra/replace.c   2010-02-24 10:42:32.055074861 -0500
@@ -40,6 +40,7 @@
 */

 #define DONT_USE_RAID
+#include <stdbool.h>
 #include <my_global.h>
 #include <m_ctype.h>
 #include <my_sys.h>
diff -Nuar --exclude '*.orig' mysql/include/my_getopt.h mysql.new/include/my_getopt.h
--- mysql/include/my_getopt.h   2010-01-31 04:17:59.000000000 -0500
+++ mysql.new/include/my_getopt.h       2010-02-24 10:41:32.365074952 -0500
@@ -16,6 +16,8 @@
 #ifndef _my_getopt_h
 #define _my_getopt_h

+#include <stdbool.h>
+
 C_MODE_START

 #define GET_NO_ARG     1
diff -Nuar --exclude '*.orig' mysql/include/my_time.h mysql.new/include/my_time.h
--- mysql/include/my_time.h     2010-01-31 04:17:59.000000000 -0500
+++ mysql.new/include/my_time.h 2010-02-24 10:41:58.705074961 -0500
@@ -20,6 +20,9 @@

 #ifndef _my_time_h_
 #define _my_time_h_
+
+#include <stdbool.h>
+
 #include "my_global.h"
 #include "mysql_time.h"

diff -Nuar --exclude '*.orig' mysql/mysys/thr_lock.c mysql.new/mysys/thr_lock.c
--- mysql/mysys/thr_lock.c      2010-01-31 04:18:19.000000000 -0500
+++ mysql.new/mysys/thr_lock.c  2010-02-24 10:19:11.045074691 -0500
@@ -80,6 +80,8 @@
 #define FORCE_DBUG_OFF
 #endif

+#include <stdbool.h>
+
 #include "mysys_priv.h"

 #ifdef THREAD
diff -Nuar --exclude '*.orig' mysql/regex/reginit.c mysql.new/regex/reginit.c
--- mysql/regex/reginit.c       2010-01-31 04:18:19.000000000 -0500
+++ mysql.new/regex/reginit.c   2010-02-24 10:43:07.695074821 -0500
@@ -1,5 +1,6 @@
 /* Init cclasses array from ctypes */

+#include <stdbool.h>
 #include <my_global.h>
 #include <m_ctype.h>
 #include <m_string.h>
diff -Nuar --exclude '*.orig' mysql/storage/heap/hp_update.c mysql.new/storage/heap/hp_update.c
--- mysql/storage/heap/hp_update.c      2010-01-31 04:18:23.000000000 -0500
+++ mysql.new/storage/heap/hp_update.c  2010-02-24 10:44:03.015074446 -0500
@@ -15,6 +15,7 @@

 /* Update current record in heap-database */

+#include <stdbool.h>
 #include "heapdef.h"

 int heap_update(HP_INFO *info, const uchar *old, const uchar *heap_new)
diff -Nuar --exclude '*.orig' mysql/storage/myisam/myisamdef.h mysql.new/storage/myisam/myisamdef.h
--- mysql/storage/myisam/myisamdef.h    2010-01-31 04:18:26.000000000 -0500
+++ mysql.new/storage/myisam/myisamdef.h        2010-02-24 10:44:37.345074924 -0500
@@ -15,6 +15,7 @@

 /* This file is included by all internal myisam files */

+#include <stdbool.h>
 #include <myisam.h>                     /* Structs & some defines */
 #include <myisampack.h>                 /* packing of keys */
 #include <my_tree.h>
diff -Nuar --exclude '*.orig' mysql/vio/viosslfactories.c mysql.new/vio/viosslfactories.c
--- mysql/vio/viosslfactories.c 2010-01-31 04:18:34.000000000 -0500
+++ mysql.new/vio/viosslfactories.c     2010-02-24 10:44:56.245075119 -0500
@@ -13,6 +13,7 @@
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */

+#include <stdbool.h>
 #include "vio_priv.h"

 #ifdef HAVE_OPENSSL