pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/idutils
Module Name: pkgsrc
Committed By: dbj
Date: Sun Nov 29 22:06:54 UTC 2020
Modified Files:
pkgsrc/devel/idutils: distinfo
Added Files:
pkgsrc/devel/idutils/patches: patch-lib_vasnprintf.c
Log Message:
devel/idutils: fix gnulib vasnprintf on MacOS
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/idutils/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/idutils/patches/patch-lib_vasnprintf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/idutils/distinfo
diff -u pkgsrc/devel/idutils/distinfo:1.11 pkgsrc/devel/idutils/distinfo:1.12
--- pkgsrc/devel/idutils/distinfo:1.11 Mon Jan 22 04:40:07 2018
+++ pkgsrc/devel/idutils/distinfo Sun Nov 29 22:06:54 2020
@@ -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-al) = 163e06074da62edbcacd45
SHA1 (patch-configure) = 06e53f65b7515276f054049c502b3187ba7a156f
SHA1 (patch-lib_fflush_c) = c79a970d48b2e4d316cb067117e958dd10d15fb0
SHA1 (patch-lib_fseeko_c) = de743874f98fd16a927c76f60f2ba27bb50f8218
+SHA1 (patch-lib_vasnprintf.c) = 62e090045569a324d40fd6f4b1bc66ea76d69155
Added files:
Index: pkgsrc/devel/idutils/patches/patch-lib_vasnprintf.c
diff -u /dev/null pkgsrc/devel/idutils/patches/patch-lib_vasnprintf.c:1.1
--- /dev/null Sun Nov 29 22:06:54 2020
+++ pkgsrc/devel/idutils/patches/patch-lib_vasnprintf.c Sun Nov 29 22:06:54 2020
@@ -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