diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-12-08 11:57:25 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-12-08 18:55:58 +0100 |
commit | 20e6446a68800d44cee8d2d273a04f8d3e8d6428 (patch) | |
tree | 7014e71efdfb14f319659a51759d5a390c5b82cb /gnu | |
parent | a59abcb35011f7181b090fac789db8cb1002b8dd (diff) | |
download | guix-20e6446a68800d44cee8d2d273a04f8d3e8d6428.tar.gz guix-20e6446a68800d44cee8d2d273a04f8d3e8d6428.zip |
gnu: idutils: Fix build with glibc 2.33.
* gnu/packages/idutils.scm (idutils)[source]: Remove reference to 'gets'
from "lib/stdio.in.h".
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/idutils.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/idutils.scm b/gnu/packages/idutils.scm index 3e404b9a6f..6d2f003734 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. |