pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/erlang lang/erlang: Fix patch file, __STDC_VERSIO...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0b734a9072f0
branches:  trunk
changeset: 385131:0b734a9072f0
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Sep 13 09:17:40 2018 +0000

description:
lang/erlang: Fix patch file, __STDC_VERSION__ might not be defined.

diffstat:

 lang/erlang/distinfo                                         |  4 ++--
 lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (35 lines):

diff -r 8403020ad6bc -r 0b734a9072f0 lang/erlang/distinfo
--- a/lang/erlang/distinfo      Thu Sep 13 09:02:52 2018 +0000
+++ b/lang/erlang/distinfo      Thu Sep 13 09:17:40 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.61 2018/09/12 20:01:12 schmonz Exp $
+$NetBSD: distinfo,v 1.62 2018/09/13 09:17:40 fhajny Exp $
 
 SHA1 (erlang/OTP-21.0.9.tar.gz) = 84a58190149566e51ca552921b09f9ac77771599
 RMD160 (erlang/OTP-21.0.9.tar.gz) = 297898412640a17014f2bf019a4af2b95047c0cf
@@ -10,6 +10,6 @@
 SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = 854ae8d60f3f114da11306db425519a0063cacda
 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) = 55decad8ca2266feddb310ab5d00394d717afca7
+SHA1 (patch-erts_lib__src_common_erl__printf.c) = 04b97c91d5c7a02c6a61ada0524ef2a2d9ad2e8b
 SHA1 (patch-lib_crypto_c__src_Makefile.in) = 0ab1db36c03999524e933d60f913ff5608b0622e
 SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
diff -r 8403020ad6bc -r 0b734a9072f0 lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c
--- a/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c      Thu Sep 13 09:02:52 2018 +0000
+++ b/lang/erlang/patches/patch-erts_lib__src_common_erl__printf.c      Thu Sep 13 09:17:40 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-erts_lib__src_common_erl__printf.c,v 1.2 2018/07/26 16:01:45 jperkin Exp $
+$NetBSD: patch-erts_lib__src_common_erl__printf.c,v 1.3 2018/09/13 09:17:40 fhajny Exp $
 
 Set _XOPEN_SOURCE correctly on SunOS.
 
@@ -9,7 +9,7 @@
  #endif
  
 +#ifdef __sun
-+#if __STDC_VERSION__-0 < 199901L
++#if !defined(__STDC_VERSION__) || __STDC_VERSION__-0 < 199901L
 +#define _XOPEN_SOURCE 500
 +#else
 +#define _XOPEN_SOURCE 600



Home | Main Index | Thread Index | Old Index