pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: Fix _XOPEN_SOURCE configuration.
details: https://anonhg.NetBSD.org/pkgsrc/rev/2140953d6d14
branches: trunk
changeset: 383292:2140953d6d14
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jul 26 16:01:45 2018 +0000
description:
erlang: Fix _XOPEN_SOURCE configuration.
diffstat:
lang/erlang/distinfo | 4 ++--
lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c | 10 +++++++---
2 files changed, 9 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 29f41a2a97e8 -r 2140953d6d14 lang/erlang/distinfo
--- a/lang/erlang/distinfo Thu Jul 26 14:34:07 2018 +0000
+++ b/lang/erlang/distinfo Thu Jul 26 16:01:45 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.58 2018/07/03 11:01:21 fhajny Exp $
+$NetBSD: distinfo,v 1.59 2018/07/26 16:01:45 jperkin Exp $
SHA1 (erlang/otp_src_21.0.tar.gz) = b9ba0909aef16f038b8c75e4d7fd0993ae4e3beb
RMD160 (erlang/otp_src_21.0.tar.gz) = 6a13f1f49fddeb4bb0d5567ffe31ab232d80855b
@@ -10,6 +10,6 @@
SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = b7784e5e8e025ca75d5279a63e0cb3f74c54bd6a
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) = 913d582a04451bcd2d330f05c49d8bf867f4a051
+SHA1 (patch-erts_lib__src_common_erl__printf.c) = 55decad8ca2266feddb310ab5d00394d717afca7
SHA1 (patch-lib_crypto_c__src_Makefile.in) = 0ab1db36c03999524e933d60f913ff5608b0622e
SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
diff -r 29f41a2a97e8 -r 2140953d6d14 lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c
--- a/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c Thu Jul 26 14:34:07 2018 +0000
+++ b/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c Thu Jul 26 16:01:45 2018 +0000
@@ -1,15 +1,19 @@
-$NetBSD: patch-erts_lib__src_common_erl__printf.c,v 1.1 2018/07/03 11:01:21 fhajny Exp $
+$NetBSD: patch-erts_lib__src_common_erl__printf.c,v 1.2 2018/07/26 16:01:45 jperkin Exp $
-Unlock putc_unlocked in stdio.h.
+Set _XOPEN_SOURCE correctly on SunOS.
--- erts/lib_src/common/erl_printf.c.orig 2018-06-19 07:07:55.000000000 +0000
+++ erts/lib_src/common/erl_printf.c
-@@ -27,6 +27,10 @@
+@@ -27,6 +27,14 @@
#include "config.h"
#endif
+#ifdef __sun
++#if __STDC_VERSION__-0 < 199901L
+#define _XOPEN_SOURCE 500
++#else
++#define _XOPEN_SOURCE 600
++#endif
+#endif
+
#include <string.h>
Home |
Main Index |
Thread Index |
Old Index