python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-14 / patches / 0012-libgo-libelf-on-illumos-doesn-t-support-largefile.patch
blob7740a154c795b0f799bcfc8a3e6d8eb106607fb9
1 From f12e57764d67c35a04be77d2798f6b16a1ac1c1f Mon Sep 17 00:00:00 2001
2 From: Richard Lowe <richlowe@richlowe.net>
3 Date: Mon, 29 Oct 2018 18:23:00 +0000
4 Subject: libgo: libelf on illumos doesn't support largefile
6 Originally from pkgsrc
7 ---
8 libgo/runtime/proc.c | 4 ++++
9 1 file changed, 4 insertions(+)
11 diff --git a/libgo/runtime/proc.c b/libgo/runtime/proc.c
12 index 3a30748d3291..29efc3e26c9f 100644
13 --- a/libgo/runtime/proc.c
14 +++ b/libgo/runtime/proc.c
15 @@ -12,6 +12,10 @@
16 #include "config.h"
18 #ifdef HAVE_DL_ITERATE_PHDR
19 +#ifdef __sun
20 +#undef _FILE_OFFSET_BITS
21 +#define _FILE_OFFSET_BITS 32
22 +#endif
23 #include <link.h>
24 #endif