aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-05-10 20:29:28 +0800
committersobomax <sobomax@FreeBSD.org>2001-05-10 20:29:28 +0800
commit6106500b3a62bbf2139489299e299a77b73564bf (patch)
tree59939f38a5a20d71acd42487d1b7f470cd19988f /x11-fm
parent795b012ce2b20e88cce549a09286dc40bc62d51c (diff)
downloadfreebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.tar.gz
freebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.tar.zst
freebsd-ports-gnome-6106500b3a62bbf2139489299e299a77b73564bf.zip
Correct path to the /proc/PID/status (it's /proc/PID/stat in Linux).
Submitted by: Matthew Hawkins <matthew@topic.com.au>
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/nautilus/Makefile1
-rw-r--r--x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c14
-rw-r--r--x11-fm/nautilus2/Makefile1
-rw-r--r--x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c14
4 files changed, 30 insertions, 0 deletions
diff --git a/x11-fm/nautilus/Makefile b/x11-fm/nautilus/Makefile
index 506a5f37e7b9..65e5df5e55c3 100644
--- a/x11-fm/nautilus/Makefile
+++ b/x11-fm/nautilus/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nautilus
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/nautilus
diff --git a/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c b/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c
new file mode 100644
index 000000000000..9874e0a31be6
--- /dev/null
+++ b/x11-fm/nautilus/files/patch-libnautilus-extensions::nautilus-medusa-support.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:39:29 1.1
++++ libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:40:00
+@@ -108,7 +108,7 @@
+ /* Process files have numbers */
+ if (nautilus_str_to_int (file->d_name,
+ &process_number)) {
+- stat_file_name = g_strdup_printf ("/proc/%d/stat", process_number);
++ stat_file_name = g_strdup_printf ("/proc/%d/status", process_number);
+ stat_file = fopen (stat_file_name, "r");
+ g_free (stat_file_name);
+
diff --git a/x11-fm/nautilus2/Makefile b/x11-fm/nautilus2/Makefile
index 506a5f37e7b9..65e5df5e55c3 100644
--- a/x11-fm/nautilus2/Makefile
+++ b/x11-fm/nautilus2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= nautilus
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= x11-fm gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/nautilus
diff --git a/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c b/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c
new file mode 100644
index 000000000000..9874e0a31be6
--- /dev/null
+++ b/x11-fm/nautilus2/files/patch-libnautilus-extensions::nautilus-medusa-support.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:39:29 1.1
++++ libnautilus-extensions/nautilus-medusa-support.c 2001/05/10 11:40:00
+@@ -108,7 +108,7 @@
+ /* Process files have numbers */
+ if (nautilus_str_to_int (file->d_name,
+ &process_number)) {
+- stat_file_name = g_strdup_printf ("/proc/%d/stat", process_number);
++ stat_file_name = g_strdup_printf ("/proc/%d/status", process_number);
+ stat_file = fopen (stat_file_name, "r");
+ g_free (stat_file_name);
+