gpgme: Fix compile with glibc 2.34
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 9 Jan 2022 18:45:49 +0000 (18:45 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Thu, 13 Jan 2022 10:46:27 +0000 (10:46 +0000)
commitdafb96c14837bf133e5215cf65fc7ed1439a375a
tree5ca8f2fee35bf77a24198c2be5832aad7a9eeff9
parentcf9d5a887031f245fbae6f8bcd3366078996f123
gpgme: Fix compile with glibc 2.34

This backports a patch from upstream gpgme to fix compilation with glibc 2.34.

It fixes the following build problem:
posix-io.c: In function '_gpgme_io_spawn':
posix-io.c:577:23: error: void value not ignored as it ought to be
  577 |             while ((i = closefrom (fd)) && errno == EINTR)
      |                       ^
make[5]: *** [Makefile:947: posix-io.lo] Error 1

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
libs/gpgme/Makefile
libs/gpgme/patches/001-Support-closefrom-also-for-glibc.patch [new file with mode: 0644]