package/libgpgme: fix build with glibc >= 2.34
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 6 Sep 2021 16:39:37 +0000 (18:39 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 19 Sep 2021 11:58:33 +0000 (13:58 +0200)
commit70839f4d519ff0db5a0240c80a757386027735d7
treeb0ece9566acb0a8d153accfdcfac9c7b24b55d94
parent251f3e3a3f16ea91565ddcafd063d4ad1b86549b
package/libgpgme: fix build with glibc >= 2.34

Fix the following build failure with glibc >= 2.34:

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)
      |                       ^

Fixes:
 - http://autobuild.buildroot.org/results/b11094ddd35263071b7dd453a6590c5b684026ff

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/libgpgme/0001-core-Support-closefrom-also-for-glibc.patch [new file with mode: 0644]