!18 Fix corosync compiling failed
From: @baizg1107 Reviewed-by: Signed-off-by:
This commit is contained in:
commit
c38f42ea03
22
fix-corosync-compile-fail.patch
Normal file
22
fix-corosync-compile-fail.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From bf461b565f24f2c913d913b3889ec7c47b115833 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Christine Caulfield <ccaulfie@redhat.com>
|
||||||
|
Date: Fri, 21 Feb 2020 07:53:23 +0000
|
||||||
|
Subject: [PATCH] list: #include <stddef.h> in qblist.h
|
||||||
|
|
||||||
|
Some platforms require it.
|
||||||
|
---
|
||||||
|
include/qb/qblist.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/include/qb/qblist.h b/include/qb/qblist.h
|
||||||
|
index 8064c874..160417e1 100644
|
||||||
|
--- a/include/qb/qblist.h
|
||||||
|
+++ b/include/qb/qblist.h
|
||||||
|
@@ -28,6 +28,7 @@ extern "C" {
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
|
+#include <stddef.h>
|
||||||
|
#include <qb/qbdefs.h>
|
||||||
|
|
||||||
|
/**
|
||||||
@ -1,12 +1,13 @@
|
|||||||
Name: libqb
|
Name: libqb
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Library providing high performance logging, tracing, ipc, and poll
|
Summary: Library providing high performance logging, tracing, ipc, and poll
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/ClusterLabs/libqb
|
URL: https://github.com/ClusterLabs/libqb
|
||||||
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
Source0: https://github.com/ClusterLabs/libqb/releases/download/v%{version}/%{name}-%{version}.tar.xz
|
||||||
Patch0: IPC-avoid-temporary-channel-priority-loss.patch
|
Patch0: IPC-avoid-temporary-channel-priority-loss.patch
|
||||||
Patch1: libqb-fix-list-handling-gcc10.patch
|
Patch1: libqb-fix-list-handling-gcc10.patch
|
||||||
|
Patch2: fix-corosync-compile-fail.patch
|
||||||
BuildRequires: autoconf automake libtool check-devel doxygen gcc procps pkgconfig(glib-2.0)
|
BuildRequires: autoconf automake libtool check-devel doxygen gcc procps pkgconfig(glib-2.0)
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
%description
|
%description
|
||||||
@ -63,6 +64,11 @@ help documents for libqb package
|
|||||||
%{_mandir}/man3/qb*3*
|
%{_mandir}/man3/qb*3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 4 2021 baizhonggui <baizhonggui@huawei.com> - 1.0.5-2
|
||||||
|
- new add #include <stddef.h> in qblist.h to fix:
|
||||||
|
issue# https://gitee.com/src-openeuler/corosync/issues/I39X3F?from=project-issue
|
||||||
|
upstream link:https://github.com/ClusterLabs/libqb/pull/384
|
||||||
|
|
||||||
* Thu Feb 25 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.0.5-1
|
* Thu Feb 25 2021 sunguoshuai <sunguoshuai@huawei.com> - 1.0.5-1
|
||||||
- upgrade to 1.0.5
|
- upgrade to 1.0.5
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user