diff options
author | olgeni <olgeni@FreeBSD.org> | 2005-02-07 02:05:39 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2005-02-07 02:05:39 +0800 |
commit | 21f968549e648b2961e478a1899801dbc67f9d8c (patch) | |
tree | ac5e026ee4d6410490dfffbc63af99f946e8d4c3 /lang/erlang | |
parent | bb05a99b012b154b9e106dd69b2c41fa57a398e3 (diff) | |
download | freebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.tar.gz freebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.tar.zst freebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.zip |
Fix problem in run_erl pipe creation.
Submitted by: Peter Lund <Peter.Lund (at) lundata.se>
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang/files/patch-erts_etc_unix_run__erl.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 66fffe639227..80223c79a2f7 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r10b2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ diff --git a/lang/erlang/files/patch-erts_etc_unix_run__erl.c b/lang/erlang/files/patch-erts_etc_unix_run__erl.c new file mode 100644 index 000000000000..c43d701e001e --- /dev/null +++ b/lang/erlang/files/patch-erts_etc_unix_run__erl.c @@ -0,0 +1,14 @@ + +$FreeBSD$ + +--- erts/etc/unix/run_erl.c.orig ++++ erts/etc/unix/run_erl.c +@@ -738,7 +738,7 @@ + */ + static int create_fifo(char *name, int perm) + { +- if ((mknod(name, S_IFIFO | perm, 0) < 0) && (errno != EEXIST)) ++ if ((mkfifo(name, perm) < 0) && (errno != EEXIST)) + return -1; + return 0; + } |