pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/erlang



Module Name:    pkgsrc
Committed By:   maya
Date:           Tue Sep 18 04:12:04 UTC 2018

Modified Files:
        pkgsrc/lang/erlang: distinfo
Added Files:
        pkgsrc/lang/erlang/patches: patch-erts_emulator_sys_common_erl__poll.c

Log Message:
erlang: Use existing workaround to deal with netbsd's kqueue
implementation limitation.

>From Michael Taylor in PR pkg/53576, also in upstream ERL-725


To generate a diff of this commit:
cvs rdiff -u -r1.62 -r1.63 pkgsrc/lang/erlang/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/erlang/distinfo
diff -u pkgsrc/lang/erlang/distinfo:1.62 pkgsrc/lang/erlang/distinfo:1.63
--- pkgsrc/lang/erlang/distinfo:1.62    Thu Sep 13 09:17:40 2018
+++ pkgsrc/lang/erlang/distinfo Tue Sep 18 04:12:04 2018
@@ -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) = 5f1602f3a49c05fd4c4588
 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

Added files:

Index: pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c
diff -u /dev/null pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c:1.3
--- /dev/null   Tue Sep 18 04:12:04 2018
+++ pkgsrc/lang/erlang/patches/patch-erts_emulator_sys_common_erl__poll.c       Tue Sep 18 04:12:04 2018
@@ -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