texlive[64941] Build/source/texk: stdlib.h to placate clang16
commits+karl at tug.org
commits+karl at tug.org
Sat Nov 5 16:43:53 CET 2022
Revision: 64941
http://tug.org/svn/texlive?view=revision&revision=64941
Author: karl
Date: 2022-11-05 16:43:53 +0100 (Sat, 05 Nov 2022)
Log Message:
-----------
stdlib.h to placate clang16
Modified Paths:
--------------
trunk/Build/source/texk/dvisvgm/ChangeLog
trunk/Build/source/texk/dvisvgm/configure
trunk/Build/source/texk/dvisvgm/configure.ac
trunk/Build/source/texk/kpathsea/ChangeLog
trunk/Build/source/texk/kpathsea/configure
trunk/Build/source/texk/kpathsea/configure.ac
Modified: trunk/Build/source/texk/dvisvgm/ChangeLog
===================================================================
--- trunk/Build/source/texk/dvisvgm/ChangeLog 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/dvisvgm/ChangeLog 2022-11-05 15:43:53 UTC (rev 64941)
@@ -1,3 +1,9 @@
+2022-11-05 Sam James <sam at gentoo.org>
+
+ * configure.ac (Ghostscript version): #include <stdlib.h>
+ to declare exit and placate clang16.
+ https://tug.org/pipermail/tlbuild/2022q4/005269.html
+
2022-08-29 Hironobu Yamashita <h.y.acetaminophen at gmail.com>
* dvisvgm-src/*, version.ac: 2.14; update sources and patches.
Modified: trunk/Build/source/texk/dvisvgm/configure
===================================================================
--- trunk/Build/source/texk/dvisvgm/configure 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/dvisvgm/configure 2022-11-05 15:43:53 UTC (rev 64941)
@@ -23415,6 +23415,7 @@
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <stdio.h>
+ #include <stdlib.h>
#include <ghostscript/iapi.h>
int main () {
gsapi_revision_t r;
Modified: trunk/Build/source/texk/dvisvgm/configure.ac
===================================================================
--- trunk/Build/source/texk/dvisvgm/configure.ac 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/dvisvgm/configure.ac 2022-11-05 15:43:53 UTC (rev 64941)
@@ -94,6 +94,7 @@
# query Ghostscript version
AC_MSG_CHECKING([Ghostscript version])
AC_RUN_IFELSE([AC_LANG_SOURCE([#include <stdio.h>
+ #include <stdlib.h>
#include <ghostscript/iapi.h>
int main () {
gsapi_revision_t r;
Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/kpathsea/ChangeLog 2022-11-05 15:43:53 UTC (rev 64941)
@@ -1,3 +1,9 @@
+2022-11-05 Sam James <sam at gentoo.org>
+
+ * configure.ac (Ghostscript version): #include <stdlib.h>
+ to declare exit and placate clang16.
+ https://tug.org/pipermail/tlbuild/2022q4/005269.html
+
2022-06-12 TANAKA Takuji <ttk at t-lab.opal.ne.jp>
* texmf.cnf (guess_input_kanji_encoding):
Modified: trunk/Build/source/texk/kpathsea/configure
===================================================================
--- trunk/Build/source/texk/kpathsea/configure 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/kpathsea/configure 2022-11-05 15:43:53 UTC (rev 64941)
@@ -14633,7 +14633,8 @@
else $as_nop
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-int fork() { exit(1); }
+#include <stdlib.h>
+ int fork() { exit(1); }
int vfork() { exit(1); }
extern char *getcwd();
char path[100];
Modified: trunk/Build/source/texk/kpathsea/configure.ac
===================================================================
--- trunk/Build/source/texk/kpathsea/configure.ac 2022-11-05 13:23:12 UTC (rev 64940)
+++ trunk/Build/source/texk/kpathsea/configure.ac 2022-11-05 15:43:53 UTC (rev 64941)
@@ -45,7 +45,8 @@
# We only need to run this if we have getcwd.
AC_CACHE_CHECK([whether getcwd uses fork or vfork],
[kb_cv_func_getcwd_forks],
- [AC_RUN_IFELSE([AC_LANG_PROGRAM([[int fork() { exit(1); }
+ [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <stdlib.h>
+ int fork() { exit(1); }
int vfork() { exit(1); }
extern char *getcwd();
char path[100];]],
More information about the tex-live-commits
mailing list.