diff options
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/dvisvgm/ChangeLog | 6 | ||||
-rwxr-xr-x | Build/source/texk/dvisvgm/configure | 1 | ||||
-rw-r--r-- | Build/source/texk/dvisvgm/configure.ac | 1 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/ChangeLog | 6 | ||||
-rwxr-xr-x | Build/source/texk/kpathsea/configure | 3 | ||||
-rw-r--r-- | Build/source/texk/kpathsea/configure.ac | 3 |
6 files changed, 18 insertions, 2 deletions
diff --git a/Build/source/texk/dvisvgm/ChangeLog b/Build/source/texk/dvisvgm/ChangeLog index a7bd6c8e70b..85b1e9ec7d2 100644 --- a/Build/source/texk/dvisvgm/ChangeLog +++ b/Build/source/texk/dvisvgm/ChangeLog @@ -1,3 +1,9 @@ +2022-11-05 Sam James <sam@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@gmail.com> * dvisvgm-src/*, version.ac: 2.14; update sources and patches. diff --git a/Build/source/texk/dvisvgm/configure b/Build/source/texk/dvisvgm/configure index edd33d6941a..b323b36ded0 100755 --- a/Build/source/texk/dvisvgm/configure +++ b/Build/source/texk/dvisvgm/configure @@ -23415,6 +23415,7 @@ else $as_nop 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; diff --git a/Build/source/texk/dvisvgm/configure.ac b/Build/source/texk/dvisvgm/configure.ac index 5dfc7656d6c..0ed1a79916a 100644 --- a/Build/source/texk/dvisvgm/configure.ac +++ b/Build/source/texk/dvisvgm/configure.ac @@ -94,6 +94,7 @@ else # 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; diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog index 5c6dccf80fc..81662ff0aa1 100644 --- a/Build/source/texk/kpathsea/ChangeLog +++ b/Build/source/texk/kpathsea/ChangeLog @@ -1,3 +1,9 @@ +2022-11-05 Sam James <sam@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@t-lab.opal.ne.jp> * texmf.cnf (guess_input_kanji_encoding): diff --git a/Build/source/texk/kpathsea/configure b/Build/source/texk/kpathsea/configure index b8612af5a71..adf88b5566e 100755 --- a/Build/source/texk/kpathsea/configure +++ b/Build/source/texk/kpathsea/configure @@ -14633,7 +14633,8 @@ then : 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]; diff --git a/Build/source/texk/kpathsea/configure.ac b/Build/source/texk/kpathsea/configure.ac index 0851e82f011..5dde0e6bdcd 100644 --- a/Build/source/texk/kpathsea/configure.ac +++ b/Build/source/texk/kpathsea/configure.ac @@ -45,7 +45,8 @@ if test "x$ac_cv_func_getcwd" = xyes; then # 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];]], |