about summary refs log tree commit diff
path: root/pkgs/applications/networking/newsreaders/kwooty/searchPath.patch
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-01-26 15:27:03 +0000
committerYury G. Kudryashov <urkud.urkud@gmail.com>2012-01-26 15:27:03 +0000
commit5b132f6e96a9794018ae1c085da482b381d1e039 (patch)
treeff54ae514799540c093adcfeca0d501b75cde506 /pkgs/applications/networking/newsreaders/kwooty/searchPath.patch
parentf878980c8b78a639b3feabd1f8f9ed9f1b7c388c (diff)
parentd9de74edd67f7dc31f5297bc785712afb322dbdd (diff)
svn merge ^/nixpkgs/trunk
Conflicts: cups, all-packages.nix (gcc45_debug)

svn path=/nixpkgs/branches/stdenv-updates/; revision=31863
Diffstat (limited to 'pkgs/applications/networking/newsreaders/kwooty/searchPath.patch')
-rw-r--r--pkgs/applications/networking/newsreaders/kwooty/searchPath.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pkgs/applications/networking/newsreaders/kwooty/searchPath.patch b/pkgs/applications/networking/newsreaders/kwooty/searchPath.patch
new file mode 100644
index 0000000000000..602002d0173f0
--- /dev/null
+++ b/pkgs/applications/networking/newsreaders/kwooty/searchPath.patch
@@ -0,0 +1,19 @@
+--- kwooty-kwooty/src/utility.cpp	2012-01-24 22:22:45.091383072 +0100
++++ kwooty-kwooty/src/utility.cpp	2012-01-24 22:29:08.526208140 +0100
+@@ -299,6 +299,7 @@
+ 
+     QString programPathName;
+     QStringList searchPathList = Settings::searchPathList();
++    searchPathList << "/usr/bin/unpar" << "/usr/bin/unrar" << "/usr/bin/7z";
+ 
+     QStringList programsWithDifferentNames = programToSearch.split(";");
+ 
+@@ -363,7 +364,7 @@
+     QStringList niceProcessArgs;
+ 
+     // look for 'nice' location :
+-    QString nicePath = KStandardDirs::findExe("nice");
++    QString nicePath = QString("/usr/bin/nice");
+     niceProcessArgs.append(nicePath);
+     niceProcessArgs.append("-n");
+