aboutsummaryrefslogtreecommitdiff
path: root/devel/dialyzer/files
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2005-07-30 13:06:15 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2005-07-30 13:06:15 +0000
commit042751da8f90cbc68b0c532ca6a3d808d79de93e (patch)
tree8c6fa668fd5e204c0a4a73f04518d82d8e8cdddf /devel/dialyzer/files
parent7bd009a387a82d7917f8389e4677de90f5f96b22 (diff)
downloadports-042751da8f90cbc68b0c532ca6a3d808d79de93e.tar.gz
ports-042751da8f90cbc68b0c532ca6a3d808d79de93e.zip
Notes
Diffstat (limited to 'devel/dialyzer/files')
-rw-r--r--devel/dialyzer/files/patch-src_dialyzer__gui.erl25
-rw-r--r--devel/dialyzer/files/patch-src_dialyzer__plt.erl23
2 files changed, 23 insertions, 25 deletions
diff --git a/devel/dialyzer/files/patch-src_dialyzer__gui.erl b/devel/dialyzer/files/patch-src_dialyzer__gui.erl
deleted file mode 100644
index 5ed6444f2e02..000000000000
--- a/devel/dialyzer/files/patch-src_dialyzer__gui.erl
+++ /dev/null
@@ -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
diff --git a/devel/dialyzer/files/patch-src_dialyzer__plt.erl b/devel/dialyzer/files/patch-src_dialyzer__plt.erl
new file mode 100644
index 000000000000..29fb8d472b7b
--- /dev/null
+++ b/devel/dialyzer/files/patch-src_dialyzer__plt.erl
@@ -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