summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2012-06-27 17:52:14 +0000
committerJim Ramsay <lack@gentoo.org>2012-06-27 17:52:14 +0000
commit97ee2f1bb269934882034c1d51ed73722b4ba75f (patch)
tree2a5a144347a889690db7b6a5cbecb76705c983af /app-admin/gkrellm/files
parentarm stable, bug #419473 (diff)
downloadgentoo-2-97ee2f1bb269934882034c1d51ed73722b4ba75f.tar.gz
gentoo-2-97ee2f1bb269934882034c1d51ed73722b4ba75f.tar.bz2
gentoo-2-97ee2f1bb269934882034c1d51ed73722b4ba75f.zip
Bug #416141: User-supplied patch to respect autofs and cifs (patches also sent upstream, expected to land in 2.3.6)
(Portage version: 2.1.11.2/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/gkrellm/files')
-rw-r--r--app-admin/gkrellm/files/gkrellm-2.3.5-autofs.patch10
-rw-r--r--app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch24
2 files changed, 34 insertions, 0 deletions
diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-autofs.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-autofs.patch
new file mode 100644
index 000000000000..cf36a9817110
--- /dev/null
+++ b/app-admin/gkrellm/files/gkrellm-2.3.5-autofs.patch
@@ -0,0 +1,10 @@
+--- gkrellm-2.3.5.old/src/sysdeps/linux.c 2010-10-06 03:27:33.000000000 +1100
++++ gkrellm-2.3.5/src/sysdeps/linux.c 2011-11-24 02:07:30.926450485 +1100
+@@ -1439,6 +1439,7 @@
+ || !strcmp(type, "usbdevfs")
+ || !strcmp(type, "usbfs")
+ || !strcmp(type, "sysfs")
++ || !strcmp(type, "autofs")
+ )
+ continue;
+ /* Strip trailing / from the directory.
diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch
new file mode 100644
index 000000000000..fa35ef672798
--- /dev/null
+++ b/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch
@@ -0,0 +1,24 @@
+--- gkrellm-2.3.5.old/server/monitor.c 2010-10-06 03:46:59.000000000 +1100
++++ gkrellm-2.3.5/server/monitor.c 2011-11-24 02:01:30.871402778 +1100
+@@ -1329,7 +1329,8 @@
+ static gchar *remote_fs_types[] =
+ {
+ "nfs",
+- "smbfs"
++ "smbfs",
++ "cifs"
+ };
+
+ void
+--- gkrellm-2.3.5.old/src/fs.c 2010-09-15 02:25:51.000000000 +1000
++++ gkrellm-2.3.5/src/fs.c 2011-11-24 02:00:17.347088370 +1100
+@@ -163,7 +163,8 @@
+ static gchar *remote_fs_types[] =
+ {
+ "nfs",
+- "smbfs"
++ "smbfs",
++ "cifs"
+ };
+
+