updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / crawl / gcc44.patch
blobb30dd1c4780041a954592260a88ef421bc34b282
1 diff -Naur src2/dc400b26-src/source/describe.cc src/dc400b26-src/source/describe.cc
2 --- src2/dc400b26-src/source/describe.cc 2009-07-30 12:46:47.308073081 +0200
3 +++ src/dc400b26-src/source/describe.cc 2009-07-30 12:55:12.124480845 +0200
4 @@ -21,7 +21,7 @@
6 #include <stdlib.h>
7 #include <stdio.h>
8 -#include <string>
9 +#include <string.h>
11 #ifdef DOS
12 #include <conio.h>
13 diff -Naur src2/dc400b26-src/source/effects.cc src/dc400b26-src/source/effects.cc
14 --- src2/dc400b26-src/source/effects.cc 2009-07-30 12:46:47.308073081 +0200
15 +++ src/dc400b26-src/source/effects.cc 2009-07-30 12:47:24.774207782 +0200
16 @@ -13,6 +13,7 @@
18 #include <string.h>
19 #include <stdio.h>
20 +#include <stdlib.h>
22 #include "externs.h"
24 diff -Naur src2/dc400b26-src/source/hiscores.cc src/dc400b26-src/source/hiscores.cc
25 --- src2/dc400b26-src/source/hiscores.cc 2009-07-30 12:46:47.301406063 +0200
26 +++ src/dc400b26-src/source/hiscores.cc 2009-07-30 12:47:38.087443069 +0200
27 @@ -29,6 +29,7 @@
28 #include <stdlib.h>
29 #include <stdio.h>
30 #include <ctype.h>
31 +#include <string.h>
33 #include "AppHdr.h"
34 #include "externs.h"
35 diff -Naur src2/dc400b26-src/source/initfile.cc src/dc400b26-src/source/initfile.cc
36 --- src2/dc400b26-src/source/initfile.cc 2009-07-30 12:46:47.304739561 +0200
37 +++ src/dc400b26-src/source/initfile.cc 2009-07-30 12:47:47.584319984 +0200
38 @@ -15,7 +15,7 @@
40 #include <stdio.h>
41 #include <stdlib.h>
42 -#include <string>
43 +#include <string.h>
44 #include <ctype.h>
46 #include "externs.h"
47 diff -Naur src2/dc400b26-src/source/it_use3.cc src/dc400b26-src/source/it_use3.cc
48 --- src2/dc400b26-src/source/it_use3.cc 2009-07-30 12:46:47.304739561 +0200
49 +++ src/dc400b26-src/source/it_use3.cc 2009-07-30 12:48:00.334311919 +0200
50 @@ -15,6 +15,7 @@
51 #include "it_use3.h"
53 #include <string.h>
54 +#include <stdlib.h>
56 #include "externs.h"
58 diff -Naur src2/dc400b26-src/source/libutil.cc src/dc400b26-src/source/libutil.cc
59 --- src2/dc400b26-src/source/libutil.cc 2009-07-30 12:46:47.304739561 +0200
60 +++ src/dc400b26-src/source/libutil.cc 2009-07-30 12:48:22.198896699 +0200
61 @@ -11,6 +11,7 @@
62 #include "AppHdr.h"
63 #include <stdio.h>
64 #include <ctype.h>
65 +#include <string.h>
67 void get_input_line( char *const buff, int len )
69 diff -Naur src2/dc400b26-src/source/macro.cc src/dc400b26-src/source/macro.cc
70 --- src2/dc400b26-src/source/macro.cc 2009-07-30 12:46:47.304739561 +0200
71 +++ src/dc400b26-src/source/macro.cc 2009-07-30 12:48:34.814520465 +0200
72 @@ -34,7 +34,7 @@
74 #include <iostream>
75 #include <fstream>
76 -#include <string>
77 +#include <string.h>
78 #include <map>
79 #include <deque>
81 diff -Naur src2/dc400b26-src/source/monplace.cc src/dc400b26-src/source/monplace.cc
82 --- src2/dc400b26-src/source/monplace.cc 2009-07-30 12:46:47.304739561 +0200
83 +++ src/dc400b26-src/source/monplace.cc 2009-07-30 12:48:59.457643232 +0200
84 @@ -11,6 +11,8 @@
85 #include "AppHdr.h"
86 #include "monplace.h"
88 +#include <string.h>
90 #include "externs.h"
91 #include "dungeon.h"
92 #include "monstuff.h"
93 diff -Naur src2/dc400b26-src/source/randart.cc src/dc400b26-src/source/randart.cc
94 --- src2/dc400b26-src/source/randart.cc 2009-07-30 12:46:47.301406063 +0200
95 +++ src/dc400b26-src/source/randart.cc 2009-07-30 12:49:28.128293003 +0200
96 @@ -17,6 +17,7 @@
98 #include <string.h>
99 #include <stdio.h>
100 +#include <stdlib.h>
102 #include "externs.h"
103 #include "itemname.h"
104 diff -Naur src2/dc400b26-src/source/skills2.cc src/dc400b26-src/source/skills2.cc
105 --- src2/dc400b26-src/source/skills2.cc 2009-07-30 12:46:47.298072625 +0200
106 +++ src/dc400b26-src/source/skills2.cc 2009-07-30 12:49:43.795555264 +0200
107 @@ -21,6 +21,7 @@
108 #include <stdio.h>
109 #include <stdlib.h>
110 #include <ctype.h>
111 +#include <string.h>
113 #ifdef DOS
114 #include <conio.h>
115 diff -Naur src2/dc400b26-src/source/spells4.cc src/dc400b26-src/source/spells4.cc
116 --- src2/dc400b26-src/source/spells4.cc 2009-07-30 12:46:47.301406063 +0200
117 +++ src/dc400b26-src/source/spells4.cc 2009-07-30 12:49:53.538887469 +0200
118 @@ -12,7 +12,7 @@
120 #include "AppHdr.h"
122 -#include <string>
123 +#include <string.h>
124 #include <stdio.h>
126 #include "externs.h"
127 diff -Naur src2/dc400b26-src/source/tags.cc src/dc400b26-src/source/tags.cc
128 --- src2/dc400b26-src/source/tags.cc 2009-07-30 12:46:47.301406063 +0200
129 +++ src/dc400b26-src/source/tags.cc 2009-07-30 12:50:18.587635287 +0200
130 @@ -76,6 +76,7 @@
131 #endif
133 #include "AppHdr.h"
134 +#include <stdlib.h>
136 #include "abl-show.h"
137 #include "enum.h"