diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gnome-system-monitor/Makefile | 3 | ||||
-rw-r--r-- | sysutils/gnome-system-monitor/files/patch-fix_with_gcc34 | 25 |
2 files changed, 26 insertions, 2 deletions
diff --git a/sysutils/gnome-system-monitor/Makefile b/sysutils/gnome-system-monitor/Makefile index 8039b41c1..c932f1158 100644 --- a/sysutils/gnome-system-monitor/Makefile +++ b/sysutils/gnome-system-monitor/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.101 2007/06/10 18:42:17 marcus Exp $ +# $MCom: ports/sysutils/gnome-system-monitor/Makefile,v 1.102 2007/06/27 18:34:47 marcus Exp $ # PORTNAME= gnome-system-monitor @@ -26,7 +26,6 @@ RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc USE_BZIP2= yes USE_GETTEXT= yes USE_XLIB= yes -USE_GCC= 4.0+ INSTALLS_OMF= yes USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomehack libwnck gnomevfs2 gnomedocutils 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[] = { |