aboutsummaryrefslogtreecommitdiffstats
path: root/main/go/no-longjmp-redefine.patch
diff options
context:
space:
mode:
authorEivind Uggedal <eivind@uggedal.com>2014-06-19 05:08:35 +0000
committerEivind Uggedal <eivind@uggedal.com>2014-06-19 05:08:35 +0000
commit406ee1a6c696f0547bbd2a4bbda4811df89cf224 (patch)
treede3f2604bccb0f30b6a758ed1b2a14ea1ac6fa1c /main/go/no-longjmp-redefine.patch
parentc8df217a529951a4dbf6a98d9e12d3ce8ee9c1c3 (diff)
downloadaports-406ee1a6c696f0547bbd2a4bbda4811df89cf224.tar.bz2
aports-406ee1a6c696f0547bbd2a4bbda4811df89cf224.tar.xz
main/go: upgrade to 1.3
Diffstat (limited to 'main/go/no-longjmp-redefine.patch')
-rw-r--r--main/go/no-longjmp-redefine.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/go/no-longjmp-redefine.patch b/main/go/no-longjmp-redefine.patch
new file mode 100644
index 0000000000..36566d7a82
--- /dev/null
+++ b/main/go/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