aboutsummaryrefslogtreecommitdiff
path: root/www/yaws
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2005-03-19 10:36:49 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2005-03-19 10:36:49 +0000
commit91b917e6b0dc927cfe5592fb232f1ece1bc4c6f1 (patch)
tree55e95343f0fcfa4e2b5938cb4abc5e6e595f00ef /www/yaws
parent140e9686980b9e8206def9a366e9fb7dfe90dd7e (diff)
downloadports-91b917e6b0dc927cfe5592fb232f1ece1bc4c6f1.tar.gz
ports-91b917e6b0dc927cfe5592fb232f1ece1bc4c6f1.zip
Notes
Diffstat (limited to 'www/yaws')
-rw-r--r--www/yaws/Makefile1
-rw-r--r--www/yaws/files/patch-src_yaws__server.erl17
2 files changed, 18 insertions, 0 deletions
diff --git a/www/yaws/Makefile b/www/yaws/Makefile
index 2df7f9a04df8..bc77578c2e41 100644
--- a/www/yaws/Makefile
+++ b/www/yaws/Makefile
@@ -7,6 +7,7 @@
PORTNAME= yaws
PORTVERSION= 1.53
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://yaws.hyber.org/download/
diff --git a/www/yaws/files/patch-src_yaws__server.erl b/www/yaws/files/patch-src_yaws__server.erl
new file mode 100644
index 000000000000..8b57ff5b54f3
--- /dev/null
+++ b/www/yaws/files/patch-src_yaws__server.erl
@@ -0,0 +1,17 @@
+
+$FreeBSD$
+
+--- src/yaws_server.erl.orig
++++ src/yaws_server.erl
+@@ -497,10 +497,9 @@
+ {'EXIT', Pid, _} ->
+ case get(top) of
+ Pid ->
+- error_logger:format("Top proc died, terminate gserv",[]),
+ {links, Ls} = process_info(self(), links),
+ foreach(fun(X) -> unlink(X), exit(X, shutdown) end, Ls),
+- exit(noserver);
++ exit(normal);
+ _ ->
+ gserv_loop(GS, Ready, Rnum, Last)
+ end;