diff options
author | olgeni <olgeni@FreeBSD.org> | 2009-06-12 23:24:53 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2009-06-12 23:24:53 +0800 |
commit | 9293f2ad07b71002e02f637edacd271e4c9c6a79 (patch) | |
tree | f8f3608e4618103bd91d22f18a5ec4ddc9d59099 /lang/erlang14 | |
parent | 707d1d79e45b8a682de3a48822d7610abfe93656 (diff) | |
download | freebsd-ports-gnome-9293f2ad07b71002e02f637edacd271e4c9c6a79.tar.gz freebsd-ports-gnome-9293f2ad07b71002e02f637edacd271e4c9c6a79.tar.zst freebsd-ports-gnome-9293f2ad07b71002e02f637edacd271e4c9c6a79.zip |
files/patch-lib_compiler_src_beam__utils.erl:
Fix "Internal consistency check failed" compiler error.
Obtained from: Bjorn Gustavsson <bgustavsson at gmail.com>
files/patch-lib_inets_src_http__client_http.erl:
The process would hang because {stream,{self,once}} is not recognized as an invalid option.
Obtained from: Adam Kocoloski <adam.kocoloski at gmail.com>
Diffstat (limited to 'lang/erlang14')
-rw-r--r-- | lang/erlang14/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_compiler_src_beam__utils.erl | 16 | ||||
-rw-r--r-- | lang/erlang14/files/patch-lib_inets_src_http__client_http.erl | 14 |
3 files changed, 31 insertions, 1 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index f484b54277c9..ef61b99bcfa0 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r13b01 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH= 1 CATEGORIES= lang parallel java MASTER_SITES= http://www.erlang.org/download/ \ diff --git a/lang/erlang14/files/patch-lib_compiler_src_beam__utils.erl b/lang/erlang14/files/patch-lib_compiler_src_beam__utils.erl new file mode 100644 index 000000000000..fec112220d2f --- /dev/null +++ b/lang/erlang14/files/patch-lib_compiler_src_beam__utils.erl @@ -0,0 +1,16 @@ + +$FreeBSD$ + +--- lib/compiler/src/beam_utils.erl.orig ++++ lib/compiler/src/beam_utils.erl +@@ -650,8 +650,8 @@ + Regs2 = x_live([Src1,Src2], Regs1), + Regs = live_join_label(Fail, D, Regs2), + live_opt(Is, Regs, D, [I|Acc]); +-live_opt([{bs_append,Fail,Src1,_,_,_,Src2,_,Dst}=I|Is], Regs0, D, Acc) -> +- Regs1 = x_live([Src1,Src2], x_dead([Dst], Regs0)), ++live_opt([{bs_append,Fail,Src1,_,Live,_,Src2,_,Dst}=I|Is], _Regs0, D, Acc) -> ++ Regs1 = x_dead([Dst], x_live([Src1,Src2], live_call(Live))), + Regs = live_join_label(Fail, D, Regs1), + live_opt(Is, Regs, D, [I|Acc]); + live_opt([{bs_private_append,Fail,Src1,_,Src2,_,Dst}=I|Is], Regs0, D, Acc) -> diff --git a/lang/erlang14/files/patch-lib_inets_src_http__client_http.erl b/lang/erlang14/files/patch-lib_inets_src_http__client_http.erl new file mode 100644 index 000000000000..2b2b435bb648 --- /dev/null +++ b/lang/erlang14/files/patch-lib_inets_src_http__client_http.erl @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- lib/inets/src/http_client/http.erl.orig ++++ lib/inets/src/http_client/http.erl +@@ -293,6 +293,8 @@ + case {Sync, Stream} of + {true, self} -> + {error, streaming_error}; ++ {true, {self,once}} -> ++ {error, streaming_error}; + _ -> + RecordHeaders = header_record(NewHeaders, #http_request_h{}, + Host, Version), |