Update to 1.17.0
Signed-off-by: Igor Raits <igor.raits@gmail.com>
This commit is contained in:
parent
910c7180f4
commit
3e4362f18d
@ -1,32 +0,0 @@
|
|||||||
From 4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jiri Kucera <sanczes@gmail.com>
|
|
||||||
Date: Sun, 25 Jul 2021 11:35:54 +0200
|
|
||||||
Subject: [PATCH] core: Support closefrom also for glibc.
|
|
||||||
|
|
||||||
* src/posix-io.c (_gpgme_io_spawn): Use glibc's closefrom.
|
|
||||||
--
|
|
||||||
|
|
||||||
Since 2.34, glibc introduces closefrom (the implementation
|
|
||||||
follows *BSD standard).
|
|
||||||
|
|
||||||
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
||||||
---
|
|
||||||
src/posix-io.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/src/posix-io.c b/src/posix-io.c
|
|
||||||
index e712ef28..2a3a81fc 100644
|
|
||||||
--- a/src/posix-io.c
|
|
||||||
+++ b/src/posix-io.c
|
|
||||||
@@ -570,7 +570,7 @@ _gpgme_io_spawn (const char *path, char *const argv[], unsigned int flags,
|
|
||||||
if (fd_list[i].fd > fd)
|
|
||||||
fd = fd_list[i].fd;
|
|
||||||
fd++;
|
|
||||||
-#if defined(__sun) || defined(__FreeBSD__)
|
|
||||||
+#if defined(__sun) || defined(__FreeBSD__) || defined(__GLIBC__)
|
|
||||||
closefrom (fd);
|
|
||||||
max_fds = fd;
|
|
||||||
#else /*!__sun */
|
|
||||||
--
|
|
||||||
2.11.0
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
Name: gpgme
|
Name: gpgme
|
||||||
Summary: GnuPG Made Easy - high level crypto API
|
Summary: GnuPG Made Easy - high level crypto API
|
||||||
Version: 1.16.0
|
Version: 1.17.0
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
|
|
||||||
# MIT: src/cJSON.{c,h} (used by gpgme-json)
|
# MIT: src/cJSON.{c,h} (used by gpgme-json)
|
||||||
@ -14,9 +14,6 @@ URL: https://gnupg.org/related_software/gpgme/
|
|||||||
Source0: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2
|
Source0: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2
|
||||||
Source2: gpgme-multilib.h
|
Source2: gpgme-multilib.h
|
||||||
|
|
||||||
# Fix build with glibc >=2.34
|
|
||||||
Patch0001: https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=patch;h=4b64774b6d13ffa4f59dddf947a97d61bcfa2f2e#/0001-core-Support-closefrom-also-for-glibc.patch
|
|
||||||
|
|
||||||
## downstream patches
|
## downstream patches
|
||||||
# Don't add extra libs/cflags in gpgme-config/cmake equivalent
|
# Don't add extra libs/cflags in gpgme-config/cmake equivalent
|
||||||
Patch1001: 0001-don-t-add-extra-libraries-for-linking.patch
|
Patch1001: 0001-don-t-add-extra-libraries-for-linking.patch
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (gpgme-1.16.0.tar.bz2) = 69487be69612e9bf0221ff56ae687248bd13635db1b7087130e93c1670e38f3c810bbca17723555c04fe207976c35871bbc3da005179ce099504321cf33636e4
|
SHA512 (gpgme-1.17.0.tar.bz2) = 7ab379c6be2031ff24334a636e596f01c9d491627b695cc6cce7a361e78c6054b7891c521f07becea3c5da10c58043c1acffbba6058bbbfaa515241d75dd6c46
|
||||||
|
Loading…
Reference in New Issue
Block a user