me
/
guix
Archived
1
0
Fork 0

gnu: idutils: Fix build with glibc 2.33.

* gnu/packages/idutils.scm (idutils)[source]: Remove reference to 'gets'
from "lib/stdio.in.h".
master
Ludovic Courtès 2021-12-08 11:57:25 +01:00
parent a59abcb350
commit 20e6446a68
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 5 additions and 1 deletions

View File

@ -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.