diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-27 12:54:11 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2015-06-27 12:54:11 +0000 |
commit | 683f16618521c66911dd06539b9e9435270de4fb (patch) | |
tree | 7d61b3e1ed0576b122e72f1a7f9244ea99379aba /net/erlang_xmlrpc/files/patch-src_xmlrpc.erl | |
parent | Do not escape libxml++ it is not needed as it is not used in regular expression (diff) |
Sorting out some Erlang stuff:
- Rename a few Erlang-related ports using the erlang- prefix; it will avoid
confusion with elixir- ports.
- Remove DOCS and EXAMPLES where not actually useful.
- Simplify RUN_DEPENDS where possible.
- Move textproc/exmpp to devel/erlang-exmpp.
- Add missing R18 compatibility fix for devel/erlang-oserl.
- Upgrade erlang-cuttlefish to 2.0.3.
The idea is that libraries ("deps") have the "erlang-" prefix, while larger
projects (rabbitmq, yaws, couchdb, etc) keep their usual names.
Notes
Notes:
svn path=/head/; revision=390698
Diffstat (limited to 'net/erlang_xmlrpc/files/patch-src_xmlrpc.erl')
-rw-r--r-- | net/erlang_xmlrpc/files/patch-src_xmlrpc.erl | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/net/erlang_xmlrpc/files/patch-src_xmlrpc.erl b/net/erlang_xmlrpc/files/patch-src_xmlrpc.erl deleted file mode 100644 index 939ccd7981db..000000000000 --- a/net/erlang_xmlrpc/files/patch-src_xmlrpc.erl +++ /dev/null @@ -1,17 +0,0 @@ ---- src/xmlrpc.erl.orig Fri May 23 10:47:55 2003 -+++ src/xmlrpc.erl Fri May 23 10:47:57 2003 -@@ -164,7 +164,14 @@ - - get_payload(Socket, Timeout, ContentLength) -> - inet:setopts(Socket, [{packet, raw}]), -- gen_tcp:recv(Socket, ContentLength, Timeout). -+ get_payload(Socket, Timeout, ContentLength, []). -+ -+get_payload(Socket, Timeout, 0, Payload) -> -+ {ok, lists:concat(lists:reverse(Payload))}; -+ -+get_payload(Socket, Timeout, ContentLength, Payload) -> -+ {ok, Bin} = gen_tcp:recv(Socket, 0, Timeout), -+ get_payload(Socket, Timeout, ContentLength - length(Bin), [Bin|Payload]). - - %% Exported: start_link/{1,5,6} |