aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2005-02-07 02:05:39 +0800
committerolgeni <olgeni@FreeBSD.org>2005-02-07 02:05:39 +0800
commit21f968549e648b2961e478a1899801dbc67f9d8c (patch)
treeac5e026ee4d6410490dfffbc63af99f946e8d4c3 /lang
parentbb05a99b012b154b9e106dd69b2c41fa57a398e3 (diff)
downloadfreebsd-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')
-rw-r--r--lang/erlang/Makefile2
-rw-r--r--lang/erlang/files/patch-erts_etc_unix_run__erl.c14
-rw-r--r--lang/erlang14/Makefile2
-rw-r--r--lang/erlang14/files/patch-erts_etc_unix_run__erl.c14
4 files changed, 30 insertions, 2 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;
+ }
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index 66fffe639227..80223c79a2f7 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 000000000000..c43d701e001e
--- /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;
+ }