!1 rv64g架构 编译报错 libc6-dev 升级2.36后 closefrom函数报错
Merge pull request !1 from 景雅茹/openkylin/yangtze
This commit is contained in:
parent
13b767d3cc
commit
0d81f0a8a5
|
@ -1,3 +1,9 @@
|
|||
gpgme1.0 (1.13.1-ok2) yangtze; urgency=medium
|
||||
|
||||
* src/posix-io.c:573: add the judgement of GLIBC
|
||||
|
||||
-- root <jingyaru@smart-core.cn> Mon, 18 Mar 2024 07:50:30 +0000
|
||||
|
||||
gpgme1.0 (1.13.1-ok1) yangtze; urgency=medium
|
||||
|
||||
* Build for openKylin.
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
From: =?utf-8?b?5ZGo5rem5riF?= <zhouganqing@kylinos.cn>
|
||||
Date: Mon, 18 Mar 2024 08:25:15 +0000
|
||||
Subject: =?utf-8?b?ITEgcnY2NGfmnrbmnoQg57yW6K+R5oql6ZSZIGxpYmM2LWRldiDljYc=?=
|
||||
=?utf-8?b?57qnMi4zNuWQjiBjbG9zZWZyb23lh73mlbDmiqXplJkgTWVyZ2UgcHVsbCByZXF1?=
|
||||
=?utf-8?b?ZXN0ICExIGZyb20g5pmv6ZuF6Iy5L29wZW5reWxpbi95YW5ndHpl?=
|
||||
|
||||
---
|
||||
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 e712ef2..b8eee37 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 */
|
|
@ -6,3 +6,4 @@
|
|||
0006-gpg-Send-with-keygrip-when-listing-keys.patch
|
||||
0007-use-FULL_PATH_NAMES-NO-for-reproducible-doxygen-docu.patch
|
||||
0006-PIC-and-shared.patch
|
||||
0009-1-rv64g-libc6-dev-2.36-closefrom.patch
|
||||
|
|
Loading…
Reference in New Issue