diff --git a/tools/gnulib/patches/310-modules-cond.patch b/tools/gnulib/patches/310-modules-cond.patch new file mode 100644 index 00000000000..04994e8df88 --- /dev/null +++ b/tools/gnulib/patches/310-modules-cond.patch @@ -0,0 +1,41 @@ +--- a/m4/cond.m4 ++++ /dev/null +@@ -1,12 +0,0 @@ +-# cond.m4 +-# serial 2 +-dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. +-dnl This file is free software; the Free Software Foundation +-dnl gives unlimited permission to copy and/or distribute it, +-dnl with or without modifications, as long as this notice is preserved. +-dnl This file is offered as-is, without any warranty. +- +-AC_DEFUN([gl_COND], +-[ +- AC_REQUIRE([gl_THREADLIB]) +-]) +--- /dev/null ++++ b/m4/glthread_cond.m4 +@@ -0,0 +1,12 @@ ++# glthread_cond.m4 ++# serial 2 ++dnl Copyright (C) 2008-2025 Free Software Foundation, Inc. ++dnl This file is free software; the Free Software Foundation ++dnl gives unlimited permission to copy and/or distribute it, ++dnl with or without modifications, as long as this notice is preserved. ++dnl This file is offered as-is, without any warranty. ++ ++AC_DEFUN([gl_COND], ++[ ++ AC_REQUIRE([gl_THREADLIB]) ++]) +--- a/modules/cond ++++ b/modules/cond +@@ -4,7 +4,7 @@ Condition variables for multithreading. + Files: + lib/glthread/cond.h + lib/glthread/cond.c +-m4/cond.m4 ++m4/glthread_cond.m4 + + Depends-on: + threadlib