summaryrefslogtreecommitdiff
path: root/devel/silentbob/files/patch-src_Sblib.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'devel/silentbob/files/patch-src_Sblib.cxx')
-rw-r--r--devel/silentbob/files/patch-src_Sblib.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/silentbob/files/patch-src_Sblib.cxx b/devel/silentbob/files/patch-src_Sblib.cxx
new file mode 100644
index 000000000000..ec5000f5af03
--- /dev/null
+++ b/devel/silentbob/files/patch-src_Sblib.cxx
@@ -0,0 +1,11 @@
+--- src/Sblib.cxx.orig 2013-11-27 15:00:47 UTC
++++ src/Sblib.cxx
+@@ -125,7 +125,7 @@ int sblib_find (const char * path, const
+ lseek (fd, 0, SEEK_END);
+ dup2 (devnull, 2);
+ dup2 (fd, 1);
+- execlp ("find", "find", "-name", name, NULL);
++ execlp ("find", "find", path, "-name", name, NULL);
+ } else if (pid > 0) {
+ waitpid (pid, &status, 0);
+ return status;