diff options
author | Karl Berry <karl@freefriends.org> | 2022-11-05 15:43:53 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-11-05 15:43:53 +0000 |
commit | f88210c2bb254c3dd8943d8d08b57085b3da8896 (patch) | |
tree | 48d5885c67866e929512e2c0f7fde9d0ff63ed36 /Build/source/texk/dvisvgm | |
parent | e37e57a3a70bde291c2443fa95fe84e3b3aeb98d (diff) |
stdlib.h to placate clang16
git-svn-id: svn://tug.org/texlive/trunk@64941 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvisvgm')
-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 |
3 files changed, 8 insertions, 0 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; |