summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-monitor/files/patch-fix_with_gcc34
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-system-monitor/files/patch-fix_with_gcc34')
-rw-r--r--sysutils/gnome-system-monitor/files/patch-fix_with_gcc3425
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-fix_with_gcc34 b/sysutils/gnome-system-monitor/files/patch-fix_with_gcc34
new file mode 100644
index 000000000..17e0c12ee
--- /dev/null
+++ b/sysutils/gnome-system-monitor/files/patch-fix_with_gcc34
@@ -0,0 +1,25 @@
+Index: src/defaulttable.h
+===================================================================
+--- src/defaulttable.h (révision 2062)
++++ src/defaulttable.h (copie de travail)
+@@ -2,18 +2,17 @@
+ #define _PROCMAN_DEFAULTTABLE_H_
+
+ #include <string>
+-#include <tr1/memory>
+ #include "regex.h"
+
+ /* This file contains prettynames and icons for well-known applications, that by default has no .desktop entry */
+
+ struct PrettyTableItem
+ {
+- std::tr1::shared_ptr<pcrecpp::RE> command;
++ pcrecpp::RE* command;
+ std::string icon;
+ };
+
+-#define ITEM(CMD, ICON) { std::tr1::shared_ptr<pcrecpp::RE>(new pcrecpp::RE((CMD))), (ICON) }
++#define ITEM(CMD, ICON) { new pcrecpp::RE((CMD)), (ICON) }
+
+ /* The current table is only a test */
+ static const PrettyTableItem default_table[] = {