texlive[55752] Build/source/texk/kpathsea: #include <stdio.h> for
commits+karl at tug.org
commits+karl at tug.org
Sat Jul 4 23:10:17 CEST 2020
Revision: 55752
http://tug.org/svn/texlive?view=revision&revision=55752
Author: karl
Date: 2020-07-04 23:10:17 +0200 (Sat, 04 Jul 2020)
Log Message:
-----------
#include <stdio.h> for [v]snprintf configure check
Modified Paths:
--------------
trunk/Build/source/texk/kpathsea/ChangeLog
trunk/Build/source/texk/kpathsea/configure
trunk/Build/source/texk/kpathsea/configure.ac
Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog 2020-07-04 20:49:31 UTC (rev 55751)
+++ trunk/Build/source/texk/kpathsea/ChangeLog 2020-07-04 21:10:17 UTC (rev 55752)
@@ -1,3 +1,9 @@
+2020-07-04 Karl Berry <karl at freefriends.org>
+
+ * configure.ac (snprintf): #include <stdio.h> to placate
+ new arm64 Mac compiler, since apparently that's the standard
+ place for the [v]snprintf declaration. We'll see. Report from Dick.
+
2020-06-22 Karl Berry <karl at freefriends.org>
* Makefile.am (EXTRA_DIST): add COPYING.LESSERv2.
Modified: trunk/Build/source/texk/kpathsea/configure
===================================================================
--- trunk/Build/source/texk/kpathsea/configure 2020-07-04 20:49:31 UTC (rev 55751)
+++ trunk/Build/source/texk/kpathsea/configure 2020-07-04 21:10:17 UTC (rev 55752)
@@ -14045,6 +14045,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdarg.h>
+ #include <stdio.h>
char buf[16];
va_list ap;
int
Modified: trunk/Build/source/texk/kpathsea/configure.ac
===================================================================
--- trunk/Build/source/texk/kpathsea/configure.ac 2020-07-04 20:49:31 UTC (rev 55751)
+++ trunk/Build/source/texk/kpathsea/configure.ac 2020-07-04 21:10:17 UTC (rev 55752)
@@ -1,6 +1,8 @@
+dnl $Id$
dnl Process this file with autoconf to produce a configure script.
dnl
-dnl Copyright (C) 2009-2015 Peter Breitenlohner <tex-live at tug.org>
+dnl Copyright 2015-2020 Karl Berry <tex-live at tug.org>
+dnl Copyright 2009-2015 Peter Breitenlohner <tex-live at tug.org>
dnl
dnl This file is free software; the copyright holder
dnl gives unlimited permission to copy and/or distribute it,
@@ -78,6 +80,7 @@
AC_CACHE_CHECK([for $snfunc and $vsnfunc],
[kpse_cv_have_snfuncs],
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <stdarg.h>
+ #include <stdio.h>
char buf[16];
va_list ap;]],
[[$snfunc (buf, 16, "%s", "abc");
More information about the tex-live-commits
mailing list.