ports/devel/bazel5/files/patch-src_tools_singlejar_port.h
Charlie Li abc5ed39ba
devel/bazel5: split from devel/bazel
Major versions harbour some incompatibilities. Main port to be
updated to 6.

Event: Kitchener-Waterloo Hackathon 202305
2023-05-25 20:52:29 -04:00

14 lines
314 B
C

--- src/tools/singlejar/port.h.orig 1979-12-31 23:00:00 UTC
+++ src/tools/singlejar/port.h
@@ -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)