ports/sysutils/dupd/files/patch-src_utils.h
Kurt Jaeger d3289c6b1b New port: sysutils/dupd
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>
2017-04-30 04:21:06 +00:00

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