ports/sysutils/plocate/files/patch-conf.cpp
Stefan `Sec` Zehl 1a556fa3ec sysutils/plocate: Fast & privacy-respecting locate utility
plocate is a locate(1) based on posting lists, completely replacing mlocate
with a much faster (and smaller) index. It is suitable as a default locate on
your system.  Like mlocate and slocate, the returned file set is
user-dependent, ie. a user will only see a file if find(1) would list it (all
directories from the root have +rx permissions).

WWW: https://plocate.sesse.net/

PR:		270657
2023-05-18 10:19:45 +02:00

11 lines
287 B
C++

--- conf.cpp.orig 2023-05-04 07:34:30 UTC
+++ conf.cpp
@@ -35,6 +35,8 @@ any later version.
#include <string.h>
#include <unistd.h>
+#define program_invocation_name getprogname()
+
using namespace std;
/* true if locate(1) should check whether files are visible before reporting