gnu: sharutils: Remove false comment.
This is a follow-up to b50d58b344
.
* gnu/packages/compression.scm (sharutils)[source]: This snippet is, in
fact, a snippet.
master
parent
9829e0699b
commit
211db9caf7
|
@ -598,22 +598,19 @@ decompressors when faced with corrupted input.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"))
|
"16isapn8f39lnffc3dp4dan05b7x6mnc76v6q5nn8ysxvvvwy19b"))
|
||||||
(modules '((guix build utils)))
|
(modules '((guix build utils)))
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Adjust the bundled gnulib to work with glibc 2.28. See e.g.
|
(substitute* (find-files "lib" "\\.c$")
|
||||||
;; "m4-gnulib-libio.patch". This is a phase rather than patch
|
(("#if defined _IO_ftrylockfile")
|
||||||
;; or snippet to work around <https://bugs.gnu.org/32347>.
|
"#if defined _IO_EOF_SEEN"))
|
||||||
(substitute* (find-files "lib" "\\.c$")
|
(substitute* "lib/stdio-impl.h"
|
||||||
(("#if defined _IO_ftrylockfile")
|
(("^/\\* BSD stdio derived implementations")
|
||||||
"#if defined _IO_EOF_SEEN"))
|
(string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
|
||||||
(substitute* "lib/stdio-impl.h"
|
"# define _IO_IN_BACKUP 0x100\n"
|
||||||
(("^/\\* BSD stdio derived implementations")
|
"#endif\n\n"
|
||||||
(string-append "#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN\n"
|
"/* BSD stdio derived implementations")))
|
||||||
"# define _IO_IN_BACKUP 0x100\n"
|
#t))))
|
||||||
"#endif\n\n"
|
|
||||||
"/* BSD stdio derived implementations")))
|
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(inputs
|
(inputs
|
||||||
`(("which" ,which)))
|
`(("which" ,which)))
|
||||||
|
|
Reference in New Issue