mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-cluster/ceph: fix building with glibc-2.32
Bug: https://bugs.gentoo.org/739042 Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org>
This commit is contained in:
@@ -199,6 +199,7 @@ PATCHES=(
|
||||
"${FILESDIR}/ceph-15.2.3-spdk-compile.patch"
|
||||
"${FILESDIR}/ceph-14.2.10-python-warnings.patch"
|
||||
"${FILESDIR}/ceph-15.2.4-system-uring.patch"
|
||||
"${FILESDIR}/ceph-15.2.5-glibc-2.32.patch"
|
||||
)
|
||||
|
||||
check-reqs_export_vars() {
|
||||
|
||||
@@ -201,6 +201,7 @@ PATCHES=(
|
||||
"${FILESDIR}/ceph-15.2.4-system-uring.patch"
|
||||
"${FILESDIR}/ceph-15.2.5-missing-includes.patch"
|
||||
"${FILESDIR}/ceph-15.2.5-systemd-unit-fix.patch"
|
||||
"${FILESDIR}/ceph-15.2.5-glibc-2.32.patch"
|
||||
)
|
||||
|
||||
check-reqs_export_vars() {
|
||||
|
||||
15
sys-cluster/ceph/files/ceph-15.2.5-glibc-2.32.patch
Normal file
15
sys-cluster/ceph/files/ceph-15.2.5-glibc-2.32.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -NaurBwdp a/src/global/signal_handler.h src/global/b/signal_handler.h
|
||||
--- a/src/global/signal_handler.h 2020-10-01 03:15:48.208164979 +0700
|
||||
+++ b/src/global/signal_handler.h 2020-10-01 03:15:40.655244081 +0700
|
||||
@@ -20,11 +20,7 @@
|
||||
|
||||
typedef void (*signal_handler_t)(int);
|
||||
|
||||
-#ifndef HAVE_REENTRANT_STRSIGNAL
|
||||
-# define sig_str(signum) sys_siglist[signum]
|
||||
-#else
|
||||
# define sig_str(signum) strsignal(signum)
|
||||
-#endif
|
||||
|
||||
void install_sighandler(int signum, signal_handler_t handler, int flags);
|
||||
|
||||
Reference in New Issue
Block a user