diff options
author | joerg <joerg@pkgsrc.org> | 2015-11-20 14:30:02 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-11-20 14:30:02 +0000 |
commit | 3bd87da1254293cec5a332a1bbb87b394a6363b8 (patch) | |
tree | c3becf248f68ad0c58df8d06573b9343984211a8 /lang/erlang | |
parent | e42e72a4074e12a8dda61685128fc78ddd26123b (diff) | |
download | pkgsrc-3bd87da1254293cec5a332a1bbb87b394a6363b8.tar.gz |
Unbreak build due to differences in the SCTP implementation.
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/distinfo | 3 | ||||
-rw-r--r-- | lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo index 0826fb05e46..180d7b48a32 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.38 2015/11/03 22:50:34 agc Exp $ +$NetBSD: distinfo,v 1.39 2015/11/20 14:30:02 joerg Exp $ SHA1 (erlang/otp_src_18.1.tar.gz) = 99361cb597548298cb14b104ebafa4e5a40ff442 RMD160 (erlang/otp_src_18.1.tar.gz) = 8afe4824fe1142ef7121a426c3233f982412dada @@ -8,3 +8,4 @@ SHA1 (patch-ab) = 5f1602f3a49c05fd4c45884a7cd6be8d3f287ac3 SHA1 (patch-am) = 11ff769b6954f950d6447e69b033cdc0bfa767e9 SHA1 (patch-ao) = 77f64f1e000357c0b7c28d14c9b42107d6cd1021 SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd +SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = d1a520f7e44d8d8ac85bf2e0e99c18a0f82a04b4 diff --git a/lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c b/lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c new file mode 100644 index 00000000000..174cab16589 --- /dev/null +++ b/lang/erlang/patches/patch-erts_emulator_drivers_common_inet__drv.c @@ -0,0 +1,17 @@ +$NetBSD: patch-erts_emulator_drivers_common_inet__drv.c,v 1.1 2015/11/20 14:30:02 joerg Exp $ + +--- erts/emulator/drivers/common/inet_drv.c.orig 2015-11-17 11:35:14.000000000 +0000 ++++ erts/emulator/drivers/common/inet_drv.c +@@ -567,6 +567,12 @@ typedef unsigned long u_long; + # define sctp_adaptation_layer_event sctp_adaption_layer_event + #endif + ++#ifdef __NetBSD__ ++#undef SCTP_DELAYED_ACK_TIME ++#undef HAVE_DECL_SCTP_DELAYED_ACK_TIME ++#define HAVE_DECL_SCTP_DELAYED_ACK_TIME 0 ++#endif ++ + #if defined(__GNUC__) && defined(HAVE_SCTP_BINDX) + static typeof(sctp_bindx) *p_sctp_bindx = NULL; + #else |