opnsense-ports/sysutils/plocate/files/patch-conf.cpp
Franco Fichtner 0a966845f4 */*: sync with upstream
Taken from: FreeBSD
2023-05-18 21:42:17 +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