diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2021-02-09 19:26:26 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2021-02-09 19:26:26 +0000 |
commit | 29062d6c5d394e1ada7257000e5d4049c02ac464 (patch) | |
tree | 6c752b3f314547e49dedcae75ee87f5c64714f7a /sysutils/rmlint/files/patch-lib_utilities.h | |
parent | devel/libgnt: update to 2.14.1 (diff) |
New port, sysutils/rmlint: Remove duplicates from your filesystem
PR: 236362
Submitted by: Joachim Werner <jockl@pianojockl.org> (Maintainer)
Diffstat (limited to 'sysutils/rmlint/files/patch-lib_utilities.h')
-rw-r--r-- | sysutils/rmlint/files/patch-lib_utilities.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/rmlint/files/patch-lib_utilities.h b/sysutils/rmlint/files/patch-lib_utilities.h new file mode 100644 index 000000000000..1f64031407c8 --- /dev/null +++ b/sysutils/rmlint/files/patch-lib_utilities.h @@ -0,0 +1,13 @@ +--- lib/utilities.h.orig 2021-02-09 17:20:43 UTC ++++ lib/utilities.h +@@ -127,6 +127,10 @@ static inline void rm_sys_close(int fd) { + } + } + ++#ifndef HAVE_LSEEK64 ++#define lseek64 lseek ++#endif ++ + static inline gint64 rm_sys_preadv(int fd, const struct iovec *iov, int iovcnt, + RmOff offset) { + #if RM_IS_APPLE || RM_IS_CYGWIN |