python/hypothesis: update to 6.122.3
[oi-userland.git] / components / developer / gcc-13 / patches / 0013-libgo-libelf-on-illumos-doesn-t-support-largefile.patch
blob9d57872e5eb8a1fe15ccb85b36759566d8060ba0
1 From df6ad09e517a061c885b5684ee245130efe3b15e 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