summaryrefslogtreecommitdiff
path: root/sysutils/plocate/files/patch-conf.cpp
blob: 019bf4b1ab9680e21a76cb24360acbf55d307a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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