summaryrefslogtreecommitdiff
path: root/sysutils/foremost/files/patch-foremost.h
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-12-15 12:39:25 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-12-15 12:39:25 +0000
commit166af4876b4e84dc92cba31af909b57e27091d9c (patch)
tree3137de139a919f639117414d644d74b99d78d660 /sysutils/foremost/files/patch-foremost.h
parentNew port: graphics/vigra - another program to mount panoramic images (diff)
Add foremost 0.69, console program to recover files based on their
headers and footers. PR: ports/68414 Submitted by: Yonatan <Yonatan@xpert.com>
Notes
Notes: svn path=/head/; revision=124106
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"