mirror of
https://git.freebsd.org/ports.git
synced 2025-07-13 23:39:20 -04:00
dupd is a file duplicate detection CLI utility, supporting iterative interactive use with a persistent file database. Despite the name, it doesn't run as a daemon. See https://elipapa.github.io/blog/fastest-way-to-find-dups.html for a comparison of such tools. WWW: http://www.virkki.com/dupd/ PR: 218664 Submitted by: Thomas Hurst <tom@hur.st>
14 lines
265 B
C
14 lines
265 B
C
--- src/utils.h.orig 2017-02-26 10:05:09 UTC
|
|
+++ src/utils.h
|
|
@@ -37,6 +37,11 @@
|
|
#define LSTAT lstat
|
|
#endif
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#define STRUCT_STAT struct stat
|
|
+#define LSTAT lstat
|
|
+#endif
|
|
+
|
|
#ifdef sun
|
|
#define STRUCT_STAT struct stat64
|
|
#define LSTAT lstat64
|