summaryrefslogtreecommitdiff
path: root/sysutils/foremost/files/patch-foremost.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/foremost/files/patch-foremost.h')
-rw-r--r--sysutils/foremost/files/patch-foremost.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/sysutils/foremost/files/patch-foremost.h b/sysutils/foremost/files/patch-foremost.h
new file mode 100644
index 000000000000..b60ca7b74002
--- /dev/null
+++ b/sysutils/foremost/files/patch-foremost.h
@@ -0,0 +1,18 @@
+--- foremost.h.orig Fri Jan 9 13:45:23 2004
++++ foremost.h Wed Jun 16 22:51:42 2004
+@@ -40,6 +40,7 @@
+ #define strtoull strtoul
+ #include <sys/ttycom.h>
+ #include <sys/param.h>
++#include <libgen.h> /* for basename() */
+ #endif /* ifdef __OPENBSD */
+
+ #ifdef __LINUX
+@@ -178,7 +179,7 @@
+ #define FOREMOST_NOEXTENSION '\xFF'
+
+ #define FOREMOST_DEFAULT_WILDCARD '?'
+-#define FOREMOST_DEFAULT_CONFIG_FILE "foremost.conf"
++#define FOREMOST_DEFAULT_CONFIG_FILE "PREFIX/etc/foremost.conf"
+
+ #define FOREMOST_DEFAULT_OUTPUT_DIR "foremost-output"