1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00

devel/bazel fix build on 10.x

PR:		231535
Submitted by:	Klaus Aehlig <aehlig@linta.de> (maintainer)
This commit is contained in:
Steve Wills 2018-09-21 20:26:29 +00:00
parent 742355224a
commit e29caad7ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480308

View File

@ -0,0 +1,14 @@
--- src/tools/singlejar/port.h.orig 2018-09-18 16:02:23.430634000 +0200
+++ src/tools/singlejar/port.h 2018-09-18 16:03:58.961047000 +0200
@@ -28,6 +28,11 @@
#include <sys/types.h>
#include <time.h>
+#ifndef _OFF64_T_DECLARED
+typedef off_t off64_t;
+#define _OFF64_T_DECLARED
+#endif
+
#if defined(__APPLE__)
typedef off_t off64_t;
#elif defined(_WIN32)