summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-monitor/files
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/gnome-system-monitor/files')
-rw-r--r--sysutils/gnome-system-monitor/files/patch-configure20
-rw-r--r--sysutils/gnome-system-monitor/files/patch-src::proctable.c31
-rw-r--r--sysutils/gnome-system-monitor/files/patch-src_openfiles.c23
3 files changed, 0 insertions, 74 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-configure b/sysutils/gnome-system-monitor/files/patch-configure
deleted file mode 100644
index 504276306..000000000
--- a/sysutils/gnome-system-monitor/files/patch-configure
+++ /dev/null
@@ -1,20 +0,0 @@
---- configure.orig Mon Nov 25 21:02:50 2002
-+++ configure Fri Nov 29 20:30:44 2002
-@@ -3731,7 +3731,7 @@
-
-
- cat >>confdefs.h <<_ACEOF
--#define GNOME_ICONDIR "${prefix}/share/pixmaps"
-+#define GNOME_ICONDIR "${datadir}/pixmaps"
- _ACEOF
-
-
-@@ -6630,7 +6630,7 @@
- s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
- s,@PKG_CONFIG@,$PKG_CONFIG,;t t
- s,@PROCMAN_CFLAGS@,$PROCMAN_CFLAGS,;t t
--s,@PROCMAN_LIBS@,$PROCMAN_LIBS,;t t
-+s,@PROCMAN_LIBS@, $PROCMAN_LIBS,;t t
- s,@GCONF_SCHEMA_CONFIG_SOURCE@,$GCONF_SCHEMA_CONFIG_SOURCE,;t t
- s,@GCONF_SCHEMA_FILE_DIR@,$GCONF_SCHEMA_FILE_DIR,;t t
- s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
diff --git a/sysutils/gnome-system-monitor/files/patch-src::proctable.c b/sysutils/gnome-system-monitor/files/patch-src::proctable.c
deleted file mode 100644
index 70b2f9e30..000000000
--- a/sysutils/gnome-system-monitor/files/patch-src::proctable.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- src/proctable.c.orig Fri Jul 22 18:58:42 2005
-+++ src/proctable.c Mon Jul 25 22:25:58 2005
-@@ -853,6 +853,12 @@ static void cb_exclude(ProcInfo* info, G
- }
-
-
-+static int
-+pid_compare(const void* first, const void* second)
-+{
-+ return *(unsigned*)first - *(unsigned*)second;
-+}
-+
- static void
- refresh_list (ProcData *procdata, const unsigned *pid_list, const guint n)
- {
-@@ -945,10 +951,15 @@ proctable_update_list (ProcData * const
-
- pid_list = glibtop_get_proclist (&proclist, which, arg);
-
-+ qsort(pid_list, proclist.number, sizeof (*pid_list), pid_compare);
-+
- /* FIXME: total cpu time elapsed should be calculated on an individual basis here
- ** should probably have a total_time_last gint in the ProcInfo structure */
- glibtop_get_cpu (&cpu);
- total_time = MAX(cpu.total - total_time_last, 1);
-+ if (cpu.frequency) {
-+ total_time /= (cpu.frequency/100);
-+ }
- total_time_last = cpu.total;
-
- refresh_list (procdata, pid_list, proclist.number);
diff --git a/sysutils/gnome-system-monitor/files/patch-src_openfiles.c b/sysutils/gnome-system-monitor/files/patch-src_openfiles.c
deleted file mode 100644
index 1b94fbb9f..000000000
--- a/sysutils/gnome-system-monitor/files/patch-src_openfiles.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- src/openfiles.c.orig Mon Apr 11 03:50:49 2005
-+++ src/openfiles.c Mon Apr 11 03:52:13 2005
-@@ -8,6 +8,7 @@
- #include <netdb.h>
- #include <sys/types.h>
- #include <sys/socket.h>
-+#include <netinet/in.h>
- #include <arpa/inet.h>
- #include "procman.h"
- #include "openfiles.h"
-@@ -152,10 +153,10 @@
- {
- ProcInfo *info;
- GtkTreeModel *model;
-- glibtop_open_files_entry *openfiles;
-- glibtop_proc_open_files procmap;
- GHashTable *new_maps;
- gint i;
-+ glibtop_open_files_entry *openfiles;
-+ glibtop_proc_open_files procmap;
-
- info = g_object_get_data (G_OBJECT (tree), "selected_info");
- g_return_if_fail (info);