wok-stable diff gmrun/stuff/gmrun-0.9.2-gcc43.patch @ rev 6156

Up: sudo, sudo-pam to 1.7.4p4.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 09 22:25:50 2010 +0000 (2010-09-09)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gmrun/stuff/gmrun-0.9.2-gcc43.patch	Thu Sep 09 22:25:50 2010 +0000
     1.3 @@ -0,0 +1,51 @@
     1.4 +--- gmrun-0.9.2/src/gtkcompletionline.cc.orig	2003-11-16 11:55:07.000000000 +0100
     1.5 ++++ gmrun-0.9.2/src/gtkcompletionline.cc	2008-05-08 08:51:22.000000000 +0200
     1.6 +@@ -29,6 +29,7 @@
     1.7 + #include <set>
     1.8 + #include <sstream>
     1.9 + #include <string>
    1.10 ++#include <cstring>
    1.11 + #include <vector>
    1.12 + using namespace std;
    1.13 + 
    1.14 +--- gmrun-0.9.2/src/ci_string.h.orig	2001-05-16 16:39:31.000000000 +0200
    1.15 ++++ gmrun-0.9.2/src/ci_string.h	2008-05-08 08:51:33.000000000 +0200
    1.16 +@@ -7,6 +7,7 @@
    1.17 + #define __CI_STRING_H__
    1.18 + 
    1.19 + #include <string>
    1.20 ++#include <cstring>
    1.21 + #include <ctype.h>
    1.22 + 
    1.23 + struct ci_char_traits : public std::char_traits<char>
    1.24 +--- gmrun-0.9.2/src/prefs.cc.orig	2002-08-16 12:48:22.000000000 +0200
    1.25 ++++ gmrun-0.9.2/src/prefs.cc	2008-05-08 08:51:54.000000000 +0200
    1.26 +@@ -13,6 +13,7 @@
    1.27 + #include <fstream>
    1.28 + #include <iostream>
    1.29 + #include <stdio.h>
    1.30 ++#include <stdlib.h>
    1.31 + 
    1.32 + #include <list>
    1.33 + 
    1.34 +--- gmrun-0.9.2/src/main.cc.orig	2003-11-16 11:55:07.000000000 +0100
    1.35 ++++ gmrun-0.9.2/src/main.cc	2008-05-08 09:03:11.000000000 +0200
    1.36 +@@ -14,6 +14,7 @@
    1.37 + #include <gdk/gdkkeysyms.h>
    1.38 + 
    1.39 + #include <string>
    1.40 ++#include <cstring>
    1.41 + #include <iostream>
    1.42 + #include <sstream>
    1.43 + #include <vector>
    1.44 +--- gmrun-0.9.2/src/gtkcompletionline.cc.orig	Mon Jun 22 20:36:52 2009
    1.45 ++++ gmrun-0.9.2/src/gtkcompletionline.cc	Mon Jun 22 20:43:37 2009
    1.46 +@@ -377,7 +377,7 @@
    1.47 +   return 0;
    1.48 + }
    1.49 + 
    1.50 +-int my_alphasort(const void* va, const void* vb) {
    1.51 ++int my_alphasort(const dirent** va, const dirent** vb) {
    1.52 +   const struct dirent** a = (const struct dirent**)va;
    1.53 +   const struct dirent** b = (const struct dirent**)vb;
    1.54 +