diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2018-02-28 20:43:21 +0100 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2018-03-08 09:05:52 +0100 |
commit | 7ac43c44e80541a53ed1751de904b0d8a5dc3a4a (patch) | |
tree | b91a5670d1050b24c70e73a627026cc3274b0177 /gnu/local.mk | |
parent | 254a88199f32d35e39c8913bc557ea2db69bd04e (diff) | |
download | gnu-guix-7ac43c44e80541a53ed1751de904b0d8a5dc3a4a.tar gnu-guix-7ac43c44e80541a53ed1751de904b0d8a5dc3a4a.tar.gz |
gnu: giflib: Make "reallocarray" private, solve glibc@2.26 conflict.
Rename the function and move the declaration from gif_lib.h to
gif_lib_private.h to solve conflicts when some .c-file #includes
both stdlib.h and gif_lib.h.
See also https://sourceforge.net/p/giflib/bugs/110/
* gnu/packages/patches/giflib-make-reallocarray-private.patch: New
file
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/image.scm(giflib)[source](patches): New field.
Diffstat (limited to 'gnu/local.mk')
-rw-r--r-- | gnu/local.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/local.mk b/gnu/local.mk index d90d8a318d..c26d0e47d8 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -697,6 +697,7 @@ dist_patch_DATA = \ %D%/packages/patches/ghostscript-no-header-uuid.patch \ %D%/packages/patches/ghostscript-no-header-creationdate.patch \ %D%/packages/patches/ghostscript-runpath.patch \ + %D%/packages/patches/giflib-make-reallocarray-private.patch \ %D%/packages/patches/gimp-CVE-2017-17784.patch \ %D%/packages/patches/gimp-CVE-2017-17785.patch \ %D%/packages/patches/gimp-CVE-2017-17786.patch \ |