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:   jperkin
Date:           Thu Jul 26 16:01:45 UTC 2018

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

Log Message:
erlang: Fix _XOPEN_SOURCE configuration.


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/lang/erlang/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.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.58 pkgsrc/lang/erlang/distinfo:1.59
--- pkgsrc/lang/erlang/distinfo:1.58    Tue Jul  3 11:01:21 2018
+++ pkgsrc/lang/erlang/distinfo Thu Jul 26 16:01:45 2018
@@ -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_configure) = dba8d72974
 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

Index: pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c
diff -u pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c:1.1 pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c:1.2
--- pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c:1.1     Tue Jul  3 11:01:21 2018
+++ pkgsrc/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c Thu Jul 26 16:01:45 2018
@@ -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