wok-stable view gmrun/stuff/gmrun-0.9.2-gcc43.patch @ rev 6876

Up: gnutls to 2.10.2. I hope this doesn't break anything.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Oct 20 22:39:45 2010 +0000 (2010-10-20)
parents
children
line source
1 --- gmrun-0.9.2/src/gtkcompletionline.cc.orig 2003-11-16 11:55:07.000000000 +0100
2 +++ gmrun-0.9.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 --- gmrun-0.9.2/src/ci_string.h.orig 2001-05-16 16:39:31.000000000 +0200
12 +++ gmrun-0.9.2/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 --- gmrun-0.9.2/src/prefs.cc.orig 2002-08-16 12:48:22.000000000 +0200
22 +++ gmrun-0.9.2/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 --- gmrun-0.9.2/src/main.cc.orig 2003-11-16 11:55:07.000000000 +0100
32 +++ gmrun-0.9.2/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>
41 --- gmrun-0.9.2/src/gtkcompletionline.cc.orig Mon Jun 22 20:36:52 2009
42 +++ gmrun-0.9.2/src/gtkcompletionline.cc Mon Jun 22 20:43:37 2009
43 @@ -377,7 +377,7 @@
44 return 0;
45 }
47 -int my_alphasort(const void* va, const void* vb) {
48 +int my_alphasort(const dirent** va, const dirent** vb) {
49 const struct dirent** a = (const struct dirent**)va;
50 const struct dirent** b = (const struct dirent**)vb;