mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
- Rename patch-src-Sblib.cxx to patch-src_Sblib.cxx and regenerate with 'make makepatch' - Add patch-src_fs.cxx to enable Dposix_fadvise - Add patch-src_wit.cxx to fix fails to build with clang 4.0 [1] PR: 216235 [1] Submitted by: jbeich@ [1] MFH: 2017Q1
11 lines
370 B
C++
11 lines
370 B
C++
--- 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;
|