aboutsummaryrefslogtreecommitdiffstats
path: root/main/go-bootstrap/no-longjmp-redefine.patch
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2015-08-24 19:24:03 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-28 11:11:21 +0200
commitbcfbb5080728e35c85f01851795220e1118a1fcc (patch)
treee8ec9d30d3ec84d0af60a63de97c47a798f5c3b6 /main/go-bootstrap/no-longjmp-redefine.patch
parent960197c8242568bc98f0033e61fc65c636f6a180 (diff)
downloadaports-bcfbb5080728e35c85f01851795220e1118a1fcc.tar.gz
aports-bcfbb5080728e35c85f01851795220e1118a1fcc.tar.bz2
aports-bcfbb5080728e35c85f01851795220e1118a1fcc.tar.xz
main/go-boostrap: new aport
This is a more minimal version of the main/go aport. It is only supposed to be used for bootstrapping go1.5 and to clarify this point it is called go-bootstrap instead of go1.4. This package doesn't ship a tools or cross subpackage anymore because doing so would increase the amount of redundant 'code' in this APKBUILD and neither tools nor cross compilers are needed for bootstrapping go1.5.
Diffstat (limited to 'main/go-bootstrap/no-longjmp-redefine.patch')
-rw-r--r--main/go-bootstrap/no-longjmp-redefine.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/go-bootstrap/no-longjmp-redefine.patch b/main/go-bootstrap/no-longjmp-redefine.patch
new file mode 100644
index 0000000000..36566d7a82
--- /dev/null
+++ b/main/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