diff options
Diffstat (limited to 'dev-libs/libite/files/libite-2.0.0-fix-path.patch')
-rw-r--r-- | dev-libs/libite/files/libite-2.0.0-fix-path.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-libs/libite/files/libite-2.0.0-fix-path.patch b/dev-libs/libite/files/libite-2.0.0-fix-path.patch new file mode 100644 index 000000000000..47a3dad538b1 --- /dev/null +++ b/dev-libs/libite/files/libite-2.0.0-fix-path.patch @@ -0,0 +1,12 @@ +diff --git a/tests/which.c b/tests/which.c +index cda57c6..3e74867 100644 +--- a/tests/which.c ++++ b/tests/which.c +@@ -21,6 +21,7 @@ int main(void) + { NULL, 0 } + }; + ++ setenv("PATH", "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin", 1); + for (i = 0; test[i].cmd; i++) { + char *path; + |