pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: Use existing workaround to deal wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d1ef4a8a4eaf
branches:  trunk
changeset: 385269:d1ef4a8a4eaf
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Sep 18 04:12:04 2018 +0000

description:
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:

 lang/erlang/distinfo                                           |   3 +-
 lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c |  16 ++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 22f3e2984b33 -r d1ef4a8a4eaf lang/erlang/distinfo
--- a/lang/erlang/distinfo      Tue Sep 18 03:48:40 2018 +0000
+++ b/lang/erlang/distinfo      Tue Sep 18 04:12:04 2018 +0000
@@ -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-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 -r 22f3e2984b33 -r d1ef4a8a4eaf lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c    Tue Sep 18 04:12:04 2018 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index