aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdelibs3
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-09-01 05:16:33 +0800
committerlofi <lofi@FreeBSD.org>2007-09-01 05:16:33 +0800
commita237e687201ec5f4dd028e5e68881717110e5dc8 (patch)
tree54bfe5f9dee524f513b862ce10761bb155707868 /x11/kdelibs3
parent51ec32c30585284f47321790503351a3a7efa638 (diff)
downloadfreebsd-ports-gnome-a237e687201ec5f4dd028e5e68881717110e5dc8.tar.gz
freebsd-ports-gnome-a237e687201ec5f4dd028e5e68881717110e5dc8.tar.zst
freebsd-ports-gnome-a237e687201ec5f4dd028e5e68881717110e5dc8.zip
Fix browsing for SMB printers in the KDE print wizard.
Submitted by: Kris Moore <kris@pcbsd.com>
Diffstat (limited to 'x11/kdelibs3')
-rw-r--r--x11/kdelibs3/files/patch-kdeprint_management_smbview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11/kdelibs3/files/patch-kdeprint_management_smbview.cpp b/x11/kdelibs3/files/patch-kdeprint_management_smbview.cpp
new file mode 100644
index 000000000000..21735baad2d7
--- /dev/null
+++ b/x11/kdelibs3/files/patch-kdeprint_management_smbview.cpp
@@ -0,0 +1,11 @@
+--- kdeprint/management/smbview.cpp 2007-08-30 19:42:25.000000000 -0700
++++ kdeprint/management/smbview.cpp.old 2007-08-30 19:43:50.000000000 -0700
+@@ -179,7 +179,7 @@
+ m_current = item;
+ *m_proc << "nmblookup"+m_wins_server+"-M ";
+ *m_proc << KProcess::quote(item->text(0));
+- *m_proc << " -S | grep '<20>' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*<20>.*//' | xargs -iserv_name smbclient -N -L 'serv_name' -W ";
++ *m_proc << " -S | grep '<20>' | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*<20>.*//' | xargs -Iserv_name smbclient -N -L 'serv_name' -W ";
+ *m_proc << KProcess::quote(item->text(0));
+ *m_proc << " -A ";
+ *m_proc << KProcess::quote(m_passwdFile->name());