summaryrefslogtreecommitdiffstats
path: root/lang/erlang14
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2005-02-06 18:05:39 +0000
committerolgeni <olgeni@FreeBSD.org>2005-02-06 18:05:39 +0000
commit21f968549e648b2961e478a1899801dbc67f9d8c (patch)
treeac5e026ee4d6410490dfffbc63af99f946e8d4c3 /lang/erlang14
parentbb05a99b012b154b9e106dd69b2c41fa57a398e3 (diff)
downloadFreeBSD-ports-21f968549e648b2961e478a1899801dbc67f9d8c.zip
FreeBSD-ports-21f968549e648b2961e478a1899801dbc67f9d8c.tar.gz
Fix problem in run_erl pipe creation.
Submitted by: Peter Lund <Peter.Lund (at) lundata.se>
Diffstat (limited to 'lang/erlang14')
-rw-r--r--lang/erlang14/Makefile2
-rw-r--r--lang/erlang14/files/patch-erts_etc_unix_run__erl.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 66fffe6..80223c7 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/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/erlang14/files/patch-erts_etc_unix_run__erl.c b/lang/erlang14/files/patch-erts_etc_unix_run__erl.c
new file mode 100644
index 0000000..c43d701
--- /dev/null
+++ b/lang/erlang14/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;
+ }
OpenPOWER on IntegriCloud