pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/idutils devel/idutils: fix gnulib vasnprintf on ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bd7014ddc9bc
branches: trunk
changeset: 442742:bd7014ddc9bc
user: dbj <dbj%pkgsrc.org@localhost>
date: Sun Nov 29 22:06:54 2020 +0000
description:
devel/idutils: fix gnulib vasnprintf on MacOS
diffstat:
devel/idutils/distinfo | 3 ++-
devel/idutils/patches/patch-lib_vasnprintf.c | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 5ed644ab3ee2 -r bd7014ddc9bc devel/idutils/distinfo
--- a/devel/idutils/distinfo Sun Nov 29 22:03:12 2020 +0000
+++ b/devel/idutils/distinfo Sun Nov 29 22:06:54 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.11 2018/01/22 04:40:07 dbj Exp $
+$NetBSD: distinfo,v 1.12 2020/11/29 22:06:54 dbj Exp $
SHA1 (idutils-4.6.tar.xz) = cb977ce3e4b2bacda85797e9048986e1c1765148
RMD160 (idutils-4.6.tar.xz) = 9b136e5bedf04183a631c1c7642c7982deb5016d
@@ -16,3 +16,4 @@
SHA1 (patch-configure) = 06e53f65b7515276f054049c502b3187ba7a156f
SHA1 (patch-lib_fflush_c) = c79a970d48b2e4d316cb067117e958dd10d15fb0
SHA1 (patch-lib_fseeko_c) = de743874f98fd16a927c76f60f2ba27bb50f8218
+SHA1 (patch-lib_vasnprintf.c) = 62e090045569a324d40fd6f4b1bc66ea76d69155
diff -r 5ed644ab3ee2 -r bd7014ddc9bc devel/idutils/patches/patch-lib_vasnprintf.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/idutils/patches/patch-lib_vasnprintf.c Sun Nov 29 22:06:54 2020 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-lib_vasnprintf.c,v 1.1 2020/11/29 22:06:54 dbj Exp $
+
+Fix build on MacOS High Sierra and later
+https://lists.gnu.org/archive/html/bug-gnulib/2017-07/msg00057.html
+
+--- lib/vasnprintf.c.orig 2012-01-28 16:26:05.000000000 +0000
++++ lib/vasnprintf.c
+@@ -4871,7 +4871,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *
+ #endif
+ *fbp = dp->conversion;
+ #if USE_SNPRINTF
+-# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || ((defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__))
++# if !(((__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined __UCLIBC__) || (defined __APPLE__ && defined __MACH__) || ((defined _WIN32 || defined __WIN32__) && ! defined
__CYGWIN__))
+ fbp[1] = '%';
+ fbp[2] = 'n';
+ fbp[3] = '\0';
Home |
Main Index |
Thread Index |
Old Index