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:
parent
742355224a
commit
e29caad7ed
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=480308
14
devel/bazel/files/patch-src_tools_singlejar_port.h
Normal file
14
devel/bazel/files/patch-src_tools_singlejar_port.h
Normal 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)
|
Loading…
Reference in New Issue
Block a user