python-texttable: update to 1.3.1
[void-packages.git] / srcpkgs / gmrun / patches / 00_gcc43_fix.patch
blob6f79591f69d26cdb4b52e89d4a7a25920d77211f
1 --- src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
2 +++ src/gtkcompletionline.cc 2008-05-08 08:51:22.000000000 +0200
3 @@ -29,6 +29,7 @@
4 #include <set>
5 #include <sstream>
6 #include <string>
7 +#include <cstring>
8 #include <vector>
9 using namespace std;
11 --- src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
12 +++ src/ci_string.h 2008-05-08 08:51:33.000000000 +0200
13 @@ -7,6 +7,7 @@
14 #define __CI_STRING_H__
16 #include <string>
17 +#include <cstring>
18 #include <ctype.h>
20 struct ci_char_traits : public std::char_traits<char>
21 --- src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
22 +++ src/prefs.cc 2008-05-08 08:51:54.000000000 +0200
23 @@ -13,6 +13,7 @@
24 #include <fstream>
25 #include <iostream>
26 #include <stdio.h>
27 +#include <stdlib.h>
29 #include <list>
31 --- src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
32 +++ src/main.cc 2008-05-08 09:03:11.000000000 +0200
33 @@ -14,6 +14,7 @@
34 #include <gdk/gdkkeysyms.h>
36 #include <string>
37 +#include <cstring>
38 #include <iostream>
39 #include <sstream>
40 #include <vector>
42 --- src/gtkcompletionline.cc.orig 2009-06-19 22:38:14.000000000 +0400
43 +++ src/gtkcompletionline.cc 2009-06-19 22:37:14.000000000 +0400
44 @@ -376,7 +377,7 @@
45 return 0;
48 -int my_alphasort(const void* va, const void* vb) {
49 +int my_alphasort(const dirent** va, const dirent** vb) {
50 const struct dirent** a = (const struct dirent**)va;
51 const struct dirent** b = (const struct dirent**)vb;