summaryrefslogtreecommitdiff
path: root/lang/erlang
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2018-09-18 04:12:04 +0000
committermaya <maya@pkgsrc.org>2018-09-18 04:12:04 +0000
commit81fcb835d44f8c2c554dc638271a768523f44f2f (patch)
treec76b0edc9a9ef5bf95643d68ea39c8bbe8c64a29 /lang/erlang
parent006e52ab8a59f3f778853abfabcf99339209de8a (diff)
downloadpkgsrc-81fcb835d44f8c2c554dc638271a768523f44f2f.tar.gz
erlang: Use existing workaround to deal with netbsd's kqueue
implementation limitation. From Michael Taylor in PR pkg/53576, also in upstream ERL-725
Diffstat (limited to 'lang/erlang')
-rw-r--r--lang/erlang/distinfo3
-rw-r--r--lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c16
2 files changed, 18 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo
index 9fac2eef597..668f9a85b30 100644
--- a/lang/erlang/distinfo
+++ b/lang/erlang/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.62 2018/09/13 09:17:40 fhajny Exp $
+$NetBSD: distinfo,v 1.63 2018/09/18 04:12:04 maya Exp $
SHA1 (erlang/OTP-21.0.9.tar.gz) = 84a58190149566e51ca552921b09f9ac77771599
RMD160 (erlang/OTP-21.0.9.tar.gz) = 297898412640a17014f2bf019a4af2b95047c0cf
@@ -8,6 +8,7 @@ SHA1 (patch-ab) = 5f1602f3a49c05fd4c45884a7cd6be8d3f287ac3
SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd
SHA1 (patch-erts_configure.in) = 2154871858bab389509e908b38ae479a55709b97
SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = 854ae8d60f3f114da11306db425519a0063cacda
+SHA1 (patch-erts_emulator_sys_common_erl__poll.c) = dde76ffb60a1969946d7a638538170547f80e985
SHA1 (patch-erts_emulator_sys_unix_sys__uds.c) = a165f977221acc8aba2ef30ca23d149a10af060a
SHA1 (patch-erts_etc_unix_run__erl.c) = 9e2377ceba5021eaa2f0c729600df499954d134e
SHA1 (patch-erts_lib__src_common_erl__printf.c) = 04b97c91d5c7a02c6a61ada0524ef2a2d9ad2e8b
diff --git a/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c b/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c
new file mode 100644
index 00000000000..82381f172d0
--- /dev/null
+++ b/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c
@@ -0,0 +1,16 @@
+$NetBSD: patch-erts_emulator_sys_common_erl__poll.c,v 1.3 2018/09/18 04:12:04 maya Exp $
+
+ERL-725: ports fail to send exit_status on NetBSD
+https://bugs.erlang.org/browse/ERL-725
+
+--- erts/emulator/sys/common/erl_poll.c.orig 2018-09-11 14:57:05.000000000 +0000
++++ erts/emulator/sys/common/erl_poll.c
+@@ -820,7 +820,7 @@ update_pollset(ErtsPollSet *ps, int fd,
+ }
+ }
+
+-#if defined(EV_DISPATCH) && !defined(__OpenBSD__)
++#if defined(EV_DISPATCH) && !(defined(__OpenBSD__) || defined(__NetBSD__))
+ /* If we have EV_DISPATCH we use it, unless we are on OpenBSD as the
+ behavior of EV_EOF seems to be edge triggered there and we need it
+ to be level triggered.