From 87f37a073fb5c2e1f6ebc780e60cdbdd2c583860 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 28 Feb 2023 04:02:51 +0000 Subject: gentoo auto-resync : 28:02:2023 - 04:02:51 --- .../files/texlive-core-2021-clang-16.patch | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'app-text/texlive-core/files/texlive-core-2021-clang-16.patch') diff --git a/app-text/texlive-core/files/texlive-core-2021-clang-16.patch b/app-text/texlive-core/files/texlive-core-2021-clang-16.patch index fcfbd26c8ed2..8d5f421544f8 100644 --- a/app-text/texlive-core/files/texlive-core-2021-clang-16.patch +++ b/app-text/texlive-core/files/texlive-core-2021-clang-16.patch @@ -3,6 +3,7 @@ https://bugs.gentoo.org/882245 https://github.com/TeX-Live/texlive-source/commit/3b1470c8911cd4bc9e4a02bfb5cac0f3bebcab3a https://github.com/TeX-Live/texlive-source/commit/60b60503b21ea43c68d1ffbe214141a79a36190b +https://github.com/TeX-Live/texlive-source/commit/bb307f8bd91c5ea4f191b9c788056470626893b7 From 3b1470c8911cd4bc9e4a02bfb5cac0f3bebcab3a Mon Sep 17 00:00:00 2001 From: Karl Berry @@ -170,3 +171,51 @@ git-svn-id: svn://tug.org/texlive/trunk/Build/source@64953 c570f23f-e606-0410-a8 { xargc = argc; +From bb307f8bd91c5ea4f191b9c788056470626893b7 Mon Sep 17 00:00:00 2001 +From: Karl Berry +Date: Thu, 2 Feb 2023 22:57:47 +0000 +Subject: [PATCH] avoid implicit wait and exit declarations for C99 + +git-svn-id: svn://tug.org/texlive/trunk/Build/source@65717 c570f23f-e606-0410-a88d-b1316a301751 +--- a/texk/xdvik/configure ++++ b/texk/xdvik/configure +@@ -15455,6 +15455,9 @@ else + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_SYS_WAIT_H ++#include ++#endif + #ifdef HAVE_VFORK_H + #include + #endif +@@ -15476,7 +15479,7 @@ main () + + while (wait(&status) != child) + ; +- exit( ++ _exit( + /* Was there some problem with vforking? */ + child < 0 + +--- a/texk/xdvik/m4/xdvi-func-setsid-in-fork.m4 ++++ b/texk/xdvik/m4/xdvi-func-setsid-in-fork.m4 +@@ -22,6 +22,9 @@ AC_DEFUN([XDVI_FUNC_SETSID_IN_VFORK], + #ifdef HAVE_UNISTD_H + #include + #endif ++#ifdef HAVE_SYS_WAIT_H ++#include ++#endif + #ifdef HAVE_VFORK_H + #include + #endif]], +@@ -40,7 +43,7 @@ AC_DEFUN([XDVI_FUNC_SETSID_IN_VFORK], + + while (wait(&status) != child) + ; +- exit( ++ _exit( + /* Was there some problem with vforking? */ + child < 0 + -- cgit v1.2.3