guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: idutils: Fix build with glibc 2.33.


From: guix-commits
Subject: 01/05: gnu: idutils: Fix build with glibc 2.33.
Date: Wed, 8 Dec 2021 12:57:27 -0500 (EST)

civodul pushed a commit to branch core-updates-frozen
in repository guix.

commit 20e6446a68800d44cee8d2d273a04f8d3e8d6428
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Wed Dec 8 11:57:25 2021 +0100

    gnu: idutils: Fix build with glibc 2.33.
    
    * gnu/packages/idutils.scm (idutils)[source]: Remove reference to 'gets'
    from "lib/stdio.in.h".
---
 gnu/packages/idutils.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/idutils.scm b/gnu/packages/idutils.scm
index 3e404b9..6d2f003 100644
--- a/gnu/packages/idutils.scm
+++ b/gnu/packages/idutils.scm
@@ -48,7 +48,11 @@
                                    "# define _IO_IN_BACKUP 0x100\n"
                                    "#endif\n\n"
                                    "/* BSD stdio derived implementations")))
-                 #t))))
+
+                 ;; 'gets' is deprecated in glibc 2.33 and its declaration is
+                 ;; no longer visible by default from <stdio.h>.
+                 (substitute* "lib/stdio.in.h"
+                   (("_GL_WARN_ON_USE \\(gets.*") ""))))))
     (build-system gnu-build-system)
     (arguments
      ;; XXX: These Gnulib tests fail with GCC 10 and glibc 2.33; skip them.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]