]> git.pld-linux.org Git - packages/elmo.git/blob - elmo-ncurses.patch
fix ncurses inludes s/\<ncurses\.h\>/\<ncurses\/ncurses\.h\>/
[packages/elmo.git] / elmo-ncurses.patch
1 --- elmo-0.6/configure.in.orig  Tue Apr  8 14:32:36 2003
2 +++ elmo-0.6/configure.in       Tue Apr  8 14:33:00 2003
3 @@ -15,7 +15,7 @@
4  
5  
6  dnl Checks for header files.
7 -AC_CHECK_HEADERS(getopt.h wordexp.h glob.h ncurses.h curses.h)
8 +AC_CHECK_HEADERS(getopt.h wordexp.h glob.h ncurses/ncurses.h curses.h)
9  
10  
11  dnl Checks for typedefs, structures, and compiler characteristics.
12 --- elmo-0.6/src/choose.c.orig  Tue Apr  8 17:57:15 2003
13 +++ elmo-0.6/src/choose.c       Tue Apr  8 17:57:15 2003
14 @@ -30,8 +30,8 @@
15  
16  #include <string.h>
17  
18 -#ifdef HAVE_NCURSES_H
19 -# include <ncurses.h>
20 +#ifdef HAVE_NCURSES_NCURSES_H
21 +# include <ncurses/ncurses.h>
22  #elif HAVE_CURSES_H
23  # include <curses.h>
24  #endif
25 --- elmo-0.6/src/clock.c.orig   Tue Apr  8 17:57:15 2003
26 +++ elmo-0.6/src/clock.c        Tue Apr  8 17:57:15 2003
27 @@ -38,8 +38,8 @@
28  #include <time.h>
29  #include <signal.h>
30  
31 -#ifdef HAVE_NCURSES_H
32 -# include <ncurses.h>
33 +#ifdef HAVE_NCURSES_NCURSES_H
34 +# include <ncurses/ncurses.h>
35  #elif HAVE_CURSES_H
36  # include <curses.h>
37  #endif
38 --- elmo-0.6/src/cmd.c.orig     Tue Apr  8 17:57:15 2003
39 +++ elmo-0.6/src/cmd.c  Tue Apr  8 17:57:15 2003
40 @@ -32,8 +32,8 @@
41  
42  #include <errno.h>
43  
44 -#ifdef HAVE_NCURSES_H
45 -# include <ncurses.h>
46 +#ifdef HAVE_NCURSES_NCURSES_H
47 +# include <ncurses/ncurses.h>
48  #elif HAVE_CURSES_H
49  # include <curses.h>
50  #endif
51 --- elmo-0.6/src/cmd.h.orig     Tue Apr  8 17:57:15 2003
52 +++ elmo-0.6/src/cmd.h  Tue Apr  8 17:57:15 2003
53 @@ -28,8 +28,8 @@
54  # include <config.h>
55  #endif
56  
57 -#ifdef HAVE_NCURSES_H
58 -# include <ncurses.h>
59 +#ifdef HAVE_NCURSES_NCURSES_H
60 +# include <ncurses/ncurses.h>
61  #elif HAVE_CURSES_H
62  # include <curses.h>
63  #endif
64 --- elmo-0.6/src/compose.c.orig Tue Apr  8 17:57:15 2003
65 +++ elmo-0.6/src/compose.c      Tue Apr  8 17:57:15 2003
66 @@ -43,8 +43,8 @@
67  #include <time.h>
68  #include <errno.h>
69  
70 -#ifdef HAVE_NCURSES_H
71 -# include <ncurses.h>
72 +#ifdef HAVE_NCURSES_NCURSES_H
73 +# include <ncurses/ncurses.h>
74  #elif HAVE_CURSES_H
75  # include <curses.h>
76  #endif
77 --- elmo-0.6/src/elmo.c.orig    Tue Apr  8 17:57:15 2003
78 +++ elmo-0.6/src/elmo.c Tue Apr  8 17:57:15 2003
79 @@ -34,8 +34,8 @@
80  #include <sys/types.h>
81  #include <signal.h>
82  
83 -#ifdef HAVE_NCURSES_H
84 -# include <ncurses.h>
85 +#ifdef HAVE_NCURSES_NCURSES_H
86 +# include <ncurses/ncurses.h>
87  #elif HAVE_CURSES_H
88  # include <curses.h>
89  #endif
90 --- elmo-0.6/src/error.c.orig   Tue Apr  8 17:57:15 2003
91 +++ elmo-0.6/src/error.c        Tue Apr  8 17:57:15 2003
92 @@ -43,8 +43,8 @@
93  #include <sys/types.h>
94  #include <signal.h>
95  
96 -#ifdef HAVE_NCURSES_H
97 -# include <ncurses.h>
98 +#ifdef HAVE_NCURSES_NCURSES_H
99 +# include <ncurses/ncurses.h>
100  #elif HAVE_CURSES_H
101  # include <curses.h>
102  #endif
103 --- elmo-0.6/src/fetch.c.orig   Tue Apr  8 17:57:15 2003
104 +++ elmo-0.6/src/fetch.c        Tue Apr  8 17:57:15 2003
105 @@ -38,8 +38,8 @@
106  #include <sys/types.h>
107  #include <sys/mman.h>
108  
109 -#ifdef HAVE_NCURSES_H
110 -# include <ncurses.h>
111 +#ifdef HAVE_NCURSES_NCURSES_H
112 +# include <ncurses/ncurses.h>
113  #elif HAVE_CURSES_H
114  # include <curses.h>
115  #endif
116 --- elmo-0.6/src/folder.c.orig  Tue Apr  8 17:57:15 2003
117 +++ elmo-0.6/src/folder.c       Tue Apr  8 17:57:15 2003
118 @@ -32,8 +32,8 @@
119  
120  #include <string.h>
121  
122 -#ifdef HAVE_NCURSES_H
123 -# include <ncurses.h>
124 +#ifdef HAVE_NCURSES_NCURSES_H
125 +# include <ncurses/ncurses.h>
126  #elif HAVE_CURSES_H
127  # include <curses.h>
128  #endif
129 --- elmo-0.6/src/linech.h.orig  Tue Apr  8 17:57:15 2003
130 +++ elmo-0.6/src/linech.h       Tue Apr  8 17:57:15 2003
131 @@ -28,8 +28,8 @@
132  # include <config.h>
133  #endif
134  
135 -#ifdef HAVE_NCURSES_H
136 -# include <ncurses.h>
137 +#ifdef HAVE_NCURSES_NCURSES_H
138 +# include <ncurses/ncurses.h>
139  #elif HAVE_CURSES_H
140  # include <curses.h>
141  #endif
142 --- elmo-0.6/src/mail.h.orig    Tue Apr  8 17:57:15 2003
143 +++ elmo-0.6/src/mail.h Tue Apr  8 17:57:15 2003
144 @@ -30,8 +30,8 @@
145  
146  #include <time.h>
147  
148 -#ifdef HAVE_NCURSES_H
149 -# include <ncurses.h>
150 +#ifdef HAVE_NCURSES_NCURSES_H
151 +# include <ncurses/ncurses.h>
152  #elif HAVE_CURSES_H
153  # include <curses.h>
154  #endif
155 --- elmo-0.6/src/mailinfo.c.orig        Tue Apr  8 17:57:15 2003
156 +++ elmo-0.6/src/mailinfo.c     Tue Apr  8 17:57:15 2003
157 @@ -30,8 +30,8 @@
158  # include <config.h>
159  #endif
160  
161 -#ifdef HAVE_NCURSES_H
162 -# include <ncurses.h>
163 +#ifdef HAVE_NCURSES_NCURSES_H
164 +# include <ncurses/ncurses.h>
165  #elif HAVE_CURSES_H
166  # include <curses.h>
167  #endif
168 --- elmo-0.6/src/mailreader.c.orig      Tue Apr  8 17:57:15 2003
169 +++ elmo-0.6/src/mailreader.c   Tue Apr  8 17:57:15 2003
170 @@ -34,8 +34,8 @@
171  #include <unistd.h>
172  #include <errno.h>
173  
174 -#ifdef HAVE_NCURSES_H
175 -# include <ncurses.h>
176 +#ifdef HAVE_NCURSES_NCURSES_H
177 +# include <ncurses/ncurses.h>
178  #elif HAVE_CURSES_H
179  # include <curses.h>
180  #endif
181 --- elmo-0.6/src/progress.c.orig        Tue Apr  8 17:57:15 2003
182 +++ elmo-0.6/src/progress.c     Tue Apr  8 17:57:15 2003
183 @@ -33,8 +33,8 @@
184  #include <stdlib.h>
185  #include <string.h>
186  
187 -#ifdef HAVE_NCURSES_H
188 -# include <ncurses.h>
189 +#ifdef HAVE_NCURSES_NCURSES_H
190 +# include <ncurses/ncurses.h>
191  #elif HAVE_CURSES_H
192  # include <curses.h>
193  #endif
194 --- elmo-0.6/src/rchtype.c.orig Tue Apr  8 17:57:15 2003
195 +++ elmo-0.6/src/rchtype.c      Tue Apr  8 17:57:15 2003
196 @@ -33,8 +33,8 @@
197  #include <string.h>
198  #include <ctype.h>
199  
200 -#ifdef HAVE_NCURSES_H
201 -# include <ncurses.h>
202 +#ifdef HAVE_NCURSES_NCURSES_H
203 +# include <ncurses/ncurses.h>
204  #elif HAVE_CURSES_H
205  # include <curses.h>
206  #endif
207 --- elmo-0.6/src/rchtype.h.orig Tue Apr  8 17:57:15 2003
208 +++ elmo-0.6/src/rchtype.h      Tue Apr  8 17:57:15 2003
209 @@ -34,8 +34,8 @@
210  
211  #include <stdlib.h>
212  
213 -#ifdef HAVE_NCURSES_H
214 -# include <ncurses.h>
215 +#ifdef HAVE_NCURSES_NCURSES_H
216 +# include <ncurses/ncurses.h>
217  #elif HAVE_CURSES_H
218  # include <curses.h>
219  #endif
220 --- elmo-0.6/src/read.c.orig    Tue Apr  8 17:57:15 2003
221 +++ elmo-0.6/src/read.c Tue Apr  8 17:57:15 2003
222 @@ -35,8 +35,8 @@
223  # include <glob.h>
224  #endif
225  
226 -#ifdef HAVE_NCURSES_H
227 -# include <ncurses.h>
228 +#ifdef HAVE_NCURSES_NCURSES_H
229 +# include <ncurses/ncurses.h>
230  #elif HAVE_CURSES_H
231  # include <curses.h>
232  #endif
233 --- elmo-0.6/src/screen.c.orig  Tue Apr  8 17:57:15 2003
234 +++ elmo-0.6/src/screen.c       Tue Apr  8 17:57:15 2003
235 @@ -32,8 +32,8 @@
236  
237  #include <pthread.h>
238  
239 -#ifdef HAVE_NCURSES_H
240 -# include <ncurses.h>
241 +#ifdef HAVE_NCURSES_NCURSES_H
242 +# include <ncurses/ncurses.h>
243  #elif HAVE_CURSES_H
244  # include <curses.h>
245  #endif
246 --- elmo-0.6/src/screen.h.orig  Tue Apr  8 17:57:15 2003
247 +++ elmo-0.6/src/screen.h       Tue Apr  8 17:57:15 2003
248 @@ -28,8 +28,8 @@
249  # include <config.h>
250  #endif
251  
252 -#ifdef HAVE_NCURSES_H
253 -# include <ncurses.h>
254 +#ifdef HAVE_NCURSES_NCURSES_H
255 +# include <ncurses/ncurses.h>
256  #elif HAVE_CURSES_H
257  # include <curses.h>
258  #endif
259 --- elmo-0.6/src/select.c.orig  Tue Apr  8 17:57:15 2003
260 +++ elmo-0.6/src/select.c       Tue Apr  8 17:57:16 2003
261 @@ -30,8 +30,8 @@
262  # include <config.h>
263  #endif
264  
265 -#ifdef HAVE_NCURSES_H
266 -# include <ncurses.h>
267 +#ifdef HAVE_NCURSES_NCURSES_H
268 +# include <ncurses/ncurses.h>
269  #elif HAVE_CURSES_H
270  # include <curses.h>
271  #endif
272 --- elmo-0.6/src/select.h.orig  Tue Apr  8 17:57:16 2003
273 +++ elmo-0.6/src/select.h       Tue Apr  8 17:57:16 2003
274 @@ -28,8 +28,8 @@
275  # include <config.h>
276  #endif
277  
278 -#ifdef HAVE_NCURSES_H
279 -# include <ncurses.h>
280 +#ifdef HAVE_NCURSES_NCURSES_H
281 +# include <ncurses/ncurses.h>
282  #elif HAVE_CURSES_H
283  # include <curses.h>
284  #endif
285 --- elmo-0.6/src/status.c.orig  Tue Apr  8 17:57:16 2003
286 +++ elmo-0.6/src/status.c       Tue Apr  8 17:57:16 2003
287 @@ -32,8 +32,8 @@
288  
289  #include <string.h>
290  
291 -#ifdef HAVE_NCURSES_H
292 -# include <ncurses.h>
293 +#ifdef HAVE_NCURSES_NCURSES_H
294 +# include <ncurses/ncurses.h>
295  #elif HAVE_CURSES_H
296  # include <curses.h>
297  #endif
This page took 0.06989 seconds and 3 git commands to generate.