mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
Upgrade to version 1.3.0.
This commit is contained in:
parent
7bd009a387
commit
042751da8f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140473
5 changed files with 30 additions and 34 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= dialyzer
|
||||
PORTVERSION= 1.2.0
|
||||
PORTVERSION= 1.3.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.it.uu.se/research/group/hipe/dialyzer/snapshots/
|
||||
|
||||
|
@ -16,7 +16,6 @@ COMMENT= Static analysis tool for Erlang/OTP applications
|
|||
BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
|
||||
RUN_DEPENDS= erl:${PORTSDIR}/lang/erlang
|
||||
|
||||
IGNORE= does not work with lang/erlang R10B-4
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
MD5 (dialyzer-1.2.0.tar.gz) = ed2bb42a7628f57950ca146e041a5f99
|
||||
SIZE (dialyzer-1.2.0.tar.gz) = 33017
|
||||
MD5 (dialyzer-1.3.0.tar.gz) = 767dec3592ccac76febcc361ac95ef9e
|
||||
SIZE (dialyzer-1.3.0.tar.gz) = 34734
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/dialyzer_gui.erl.orig
|
||||
+++ src/dialyzer_gui.erl
|
||||
@@ -489,8 +489,8 @@
|
||||
{'EXIT', BackendPid, Reason} when Reason /= normal ->
|
||||
error(State, Reason),
|
||||
gui_loop(State);
|
||||
- Other ->
|
||||
- io:format("Received ~p\n", [Other]),
|
||||
+ _Other ->
|
||||
+ %% io:format("Received ~p\n", [Other]),
|
||||
gui_loop(State)
|
||||
end.
|
||||
|
||||
@@ -1019,7 +1019,7 @@
|
||||
ReAnalyze =
|
||||
case filelib:is_file(Plt) of
|
||||
true ->
|
||||
- case dets:open_file(Plt) of
|
||||
+ case dets:open_file(Plt,[{access,read}]) of
|
||||
{ok, Dets} ->
|
||||
Res =
|
||||
case dets:lookup(Dets, md5) of
|
23
devel/dialyzer/files/patch-src_dialyzer__plt.erl
Normal file
23
devel/dialyzer/files/patch-src_dialyzer__plt.erl
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
$FreeBSD$
|
||||
|
||||
--- src/dialyzer_plt.erl.orig
|
||||
+++ src/dialyzer_plt.erl
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
from_dets(Name, Dets) ->
|
||||
Plt = new(Name),
|
||||
- {ok, D} = dets:open_file(Dets, []),
|
||||
+ {ok, D} = dets:open_file(Dets, [{access, read}]),
|
||||
true = ets:from_dets(Plt, D),
|
||||
ok = dets:close(D),
|
||||
Plt.
|
||||
@@ -59,7 +59,7 @@
|
||||
MD5 = compute_md5(),
|
||||
case filelib:is_file(?INIT_PLT) andalso dets:is_dets_file(?INIT_PLT) of
|
||||
true ->
|
||||
- case dets:open_file(?INIT_PLT, []) of
|
||||
+ case dets:open_file(?INIT_PLT, [{access, read}]) of
|
||||
{ok, Dets} ->
|
||||
Res =
|
||||
case dets:lookup(Dets, md5) of
|
|
@ -13,7 +13,6 @@ lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_gui.beam
|
|||
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_module_callgraph.beam
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_options.beam
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/ebin/dialyzer_plt.beam
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/plt/dialyzer_empty_plt
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.app.src
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.erl
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer.hrl
|
||||
|
@ -27,11 +26,11 @@ lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer_options.erl
|
|||
lib/erlang/lib/dialyzer-%%VERSION%%/src/dialyzer_plt.erl
|
||||
lib/erlang/lib/dialyzer-%%VERSION%%/src/hipe_icode_type.hrl
|
||||
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/src
|
||||
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/plt
|
||||
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/ebin
|
||||
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%/doc
|
||||
@dirrm lib/erlang/lib/dialyzer-%%VERSION%%
|
||||
@unexec rmdir %D/lib/erlang/lib/dialyzer-%%VERSION%%/plt >/dev/null 2>&1 || true
|
||||
@unexec rmdir %D/lib/erlang/lib/dialyzer-%%VERSION%% >/dev/null 2>&1 || true
|
||||
@exec ln -sf dialyzer-%%VERSION%% %D/lib/erlang/lib/dialyzer
|
||||
@unexec rm -f %D/lib/erlang/lib/dialyzer 2>&1 >/dev/null || true
|
||||
@unexec rm -f %D/lib/erlang/lib/dialyzer >/dev/null 2>&1 || true
|
||||
@exec ln -sf %D/lib/erlang/lib/dialyzer-%%VERSION%%/dialyzer %D/bin/dialyzer
|
||||
@unexec rm %D/bin/dialyzer 2>&1 >/dev/null || true
|
||||
@unexec rm %D/bin/dialyzer >/dev/null 2>&1 || true
|
||||
|
|
Loading…
Add table
Reference in a new issue