diff options
-rw-r--r-- | x11/kdelibs3/files/patch-kdeprint_management_smbview.cpp | 11 | ||||
-rw-r--r-- | x11/kdelibs4/files/patch-kdeprint_management_smbview.cpp | 11 |
2 files changed, 22 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()); diff --git a/x11/kdelibs4/files/patch-kdeprint_management_smbview.cpp b/x11/kdelibs4/files/patch-kdeprint_management_smbview.cpp new file mode 100644 index 000000000000..21735baad2d7 --- /dev/null +++ b/x11/kdelibs4/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()); |