ports/devel/llvm40/files/compiler-rt-patch-ino64
Brooks Davis 26c1466eaf Adapt to ino64 changes.[0]
Bump dependencies to allow python 3 support.[1]

PR:		219222 [1]
Submitted by:	kib [0], Daniel Ylitalo <daniel@blodan.se> [1]
Reviewed by:	emaste [0]
Differential Revision:	https://reviews.freebsd.org/D10797
2017-05-24 22:14:14 +00:00

15 lines
500 B
Text

--- lib/sanitizer_common/sanitizer_platform_limits_posix.h.orig 2017-05-24 19:09:24.000000000 +0000
+++ lib/sanitizer_common/sanitizer_platform_limits_posix.h 2017-05-24 20:12:47.183536000 +0000
@@ -485,7 +485,12 @@
};
#elif SANITIZER_FREEBSD
struct __sanitizer_dirent {
+#if __FreeBSD_version < 1200031
unsigned int d_fileno;
+#else
+ unsigned long long d_fileno;
+ unsigned long long d_off;
+#endif
unsigned short d_reclen;
// more fields that we don't care about
};