packages/x11-misc/gmrun/files/missing-headers.patch (1255B) - raw
1 Source: Dan Callaghan <djc@djc.id.au>
2 Upstream: TODO
3 Reason: transitive #include slackness
4
5 --- gmrun-0.9.2-orig/src/ci_string.h 2001-05-17 00:39:31.000000000 +1000
6 +++ gmrun-0.9.2/src/ci_string.h 2010-10-09 15:39:27.734709225 +1000
7 @@ -7,6 +7,7 @@
8 #define __CI_STRING_H__
9
10 #include <string>
11 +#include <strings.h>
12 #include <ctype.h>
13
14 struct ci_char_traits : public std::char_traits<char>
15 --- gmrun-0.9.2-orig/src/gtkcompletionline.cc 2003-11-16 20:55:07.000000000 +1000
16 +++ gmrun-0.9.2/src/gtkcompletionline.cc 2010-10-09 15:36:31.735708701 +1000
17 @@ -24,6 +24,7 @@
18 #include <sys/types.h>
19 #include <sys/stat.h>
20 #include <unistd.h>
21 +#include <string.h>
22
23 #include <iostream>
24 #include <set>
25 --- gmrun-0.9.2-orig/src/main.cc 2003-11-16 20:55:07.000000000 +1000
26 +++ gmrun-0.9.2/src/main.cc 2010-10-09 15:40:06.437709310 +1000
27 @@ -19,6 +19,7 @@
28 #include <vector>
29 #include <algorithm>
30 #include <iterator>
31 +#include <string.h>
32 #include <popt.h>
33
34 using namespace std;
35 --- gmrun-0.9.2-orig/src/prefs.cc 2002-08-16 20:48:22.000000000 +1000
36 +++ gmrun-0.9.2/src/prefs.cc 2010-10-09 15:40:30.257709145 +1000
37 @@ -12,7 +12,9 @@
38
39 #include <fstream>
40 #include <iostream>
41 +#include <stdlib.h>
42 #include <stdio.h>
43 +#include <string.h>
44
45 #include <list>
46