diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-11-10 15:12:40 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2005-11-10 15:12:40 +0000 |
commit | 8cbd6f66060cf0f9cd2062fc68f7fb7f64889125 (patch) | |
tree | 62c88f536d416d0158ce5b97fb901556912de3b2 /lang/erlang | |
parent | a52f1c991b991a245f6b0545da1e347fcd8c434b (diff) | |
download | ports-8cbd6f66060cf0f9cd2062fc68f7fb7f64889125.tar.gz ports-8cbd6f66060cf0f9cd2062fc68f7fb7f64889125.zip |
Notes
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 1 | ||||
-rw-r--r-- | lang/erlang/files/patch-lib_ssl_src_ssl__prim.erl | 23 |
2 files changed, 24 insertions, 0 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 4c5dbd3c5964..2390840607ca 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -8,6 +8,7 @@ PORTNAME= erlang PORTVERSION= r10b8 PORTEPOCH= 1 +PORTREVISION= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ ftp://ftp.erlang.org/pub/download/ \ diff --git a/lang/erlang/files/patch-lib_ssl_src_ssl__prim.erl b/lang/erlang/files/patch-lib_ssl_src_ssl__prim.erl new file mode 100644 index 000000000000..94d8323434c0 --- /dev/null +++ b/lang/erlang/files/patch-lib_ssl_src_ssl__prim.erl @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- lib/ssl/src/ssl_prim.erl.orig ++++ lib/ssl/src/ssl_prim.erl +@@ -107,7 +107,7 @@ + peername(St) when record(St, st), St#st.status =:= open -> + case ssl_server:peername_prim(ssl_server_prim, St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet:getaddr(Address, inet), ++ {ok, At} = inet_parse:ipv4_address(Address), + {ok, {At, Port}}; + Error -> + Error +@@ -119,7 +119,7 @@ + sockname(St) when record(St, st), St#st.status =:= open -> + case ssl_server:sockname_prim(ssl_server_prim, St#st.fd) of + {ok, {Address, Port}} -> +- {ok, At} = inet:getaddr(Address, inet), ++ {ok, At} = inet_parse:ipv4_address(Address), + {ok, {At, Port}}; + Error -> + Error |