From 45c3370b221e2613308d669a8757543bbac5be95 Mon Sep 17 00:00:00 2001
From: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Date: Wed, 10 Jul 2024 17:23:18 +0200
Subject: [PATCH] fixincludes: skip stdio_stdarg_h on darwin

The fix is unnecessary on macOS.

fixincludes/ChangeLog:

	* fixincl.x: Regenerate.
	* inclhack.def (stdio_stdarg_h): Skip on darwin.
---
 fixincludes/fixincl.x    | 5 +++--
 fixincludes/inclhack.def | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/fixincludes/fixincl.x b/fixincludes/fixincl.x
index 9dc05ea17f1..bfacf9aa3ae 100644
--- a/fixincludes/fixincl.x
+++ b/fixincludes/fixincl.x
@@ -2,11 +2,11 @@
  *
  * DO NOT EDIT THIS FILE   (fixincl.x)
  *
- * It has been AutoGen-ed  July 10, 2024 at 02:49:05 PM by AutoGen 5.18.16
+ * It has been AutoGen-ed  July 10, 2024 at 05:22:37 PM by AutoGen 5.18.16
  * From the definitions    inclhack.def
  * and the template file   fixincl
  */
-/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Jul 10 14:49:05 CEST 2024
+/* DO NOT SVN-MERGE THIS FILE, EITHER Wed Jul 10 17:22:37 CEST 2024
  *
  * You must regenerate it.  Use the ./genfixes script.
  *
@@ -8975,6 +8975,7 @@ tSCC zStdio_Stdarg_HList[] =
  */
 tSCC* apzStdio_Stdarg_HMachs[] = {
         "*-*-solaris2.1[0-9]*",
+        "*-*-darwin*",
         (const char*)NULL };
 
 /*
diff --git a/fixincludes/inclhack.def b/fixincludes/inclhack.def
index 1ac8e335419..69f751b4f27 100644
--- a/fixincludes/inclhack.def
+++ b/fixincludes/inclhack.def
@@ -4484,6 +4484,7 @@ fix = {
      * <iso/stdio_iso.h>, which includes <sys/va_list.h>.
       */
     mach     = '*-*-solaris2.1[0-9]*';
+    mach     = "*-*-darwin*";
     not_machine = true;
 
     c_fix     = wrap;
-- 
2.39.3 (Apple Git-146)

