mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Major versions harbour some incompatibilities. Main port to be updated to 6. Event: Kitchener-Waterloo Hackathon 202305
14 lines
314 B
C
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)
|