diff options
author | John Regan <john@jrjrtech.com> | 2015-02-19 10:31:56 -0500 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-02-19 15:55:16 +0000 |
commit | d619822e8905167b4a0b4e993d8c0e1c64aa445a (patch) | |
tree | 1e3029ad6905003f7e6bd4dddf24374485c926fb /testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch | |
parent | f8b1a52e683440dcb7e4b3222f33669a79805802 (diff) | |
download | aports-d619822e8905167b4a0b4e993d8c0e1c64aa445a.tar.bz2 aports-d619822e8905167b4a0b4e993d8c0e1c64aa445a.tar.xz |
testing/erlang: updating to 17.4
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch')
-rw-r--r-- | testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch b/testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch new file mode 100644 index 0000000000..f2de8ac471 --- /dev/null +++ b/testing/erlang/otp-0007-Split-off-webtool-dependency-from-tools.patch @@ -0,0 +1,40 @@ +From: Peter Lemenkov <lemenkov@gmail.com> +Date: Sat, 8 Nov 2014 22:54:57 +0300 +Subject: [PATCH] Split off webtool dependency from tools + +Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> + +diff --git a/lib/tools/src/cover_web.erl b/lib/tools/src/cover_web.erl +index 69f2f3b..9085300 100644 +--- a/lib/tools/src/cover_web.erl ++++ b/lib/tools/src/cover_web.erl +@@ -50,14 +50,25 @@ + %%%---------------------------------------------------------------------- + %% Start webtool and webcover from erlang shell + start() -> +- webtool:start(), +- webtool:start_tools([],"app=webcover"), ++ try ++ % Disable automatic dependency picking up ++ erlang:apply(webtool, start, []), ++ erlang:apply(webtool, start_tools, [[],"app=webcover"]) ++ catch ++ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n") ++ end, + ok. + + %% Stop webtool and webcover from erlang shell + stop() -> +- webtool:stop_tools([],"app=webcover"), +- webtool:stop(). ++ try ++ % Disable automatic dependency picking up ++ erlang:apply(webtool, stop_tools, [[],"app=webcover"]), ++ erlang:apply(webtool, stop, []) ++ catch ++ error:undef -> error_logger:error_msg("No erlang-webtool found.~nPlease install erlang-webtool package first.~n") ++ end, ++ ok. + + + |