aboutsummaryrefslogtreecommitdiffstats
path: root/community/go-bootstrap/no-longjmp-redefine.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/go-bootstrap/no-longjmp-redefine.patch')
-rw-r--r--community/go-bootstrap/no-longjmp-redefine.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/community/go-bootstrap/no-longjmp-redefine.patch b/community/go-bootstrap/no-longjmp-redefine.patch
new file mode 100644
index 00000000000..36566d7a829
--- /dev/null
+++ b/community/go-bootstrap/no-longjmp-redefine.patch
@@ -0,0 +1,10 @@
+--- a/include/libc.h
++++ b/include/libc.h
+@@ -102,7 +102,6 @@ extern void sysfatal(char*, ...);
+ #define atoll p9atoll
+ #define getenv p9getenv
+ #define getwd p9getwd
+-#define longjmp p9longjmp
+ #undef setjmp
+ #define setjmp p9setjmp
+ #define putenv p9putenv