[Bug 236362] new port: sysutils/rmlint: Remove duplicates and other lint from your filesystem
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Feb 9 17:39:59 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236362
--- Comment #8 from Joseph Mingrone <jrm at freebsd.org> ---
Looks good, but the build fails on i386 because lseek64 is not defined. I
propose the patch below as a fix.
--- 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list