diff --git a/fence-agents.spec b/fence-agents.spec index efc51ea..97924bc 100644 --- a/fence-agents.spec +++ b/fence-agents.spec @@ -16,13 +16,14 @@ Name: fence-agents Summary: Fence Agents for Red Hat Cluster Version: 4.0.24 -Release: 9%{?alphatag:.%{alphatag}}%{?dist} +Release: 10%{?alphatag:.%{alphatag}}%{?dist} License: GPLv2+ and LGPLv2+ Group: System Environment/Base URL: http://sourceware.org/cluster/wiki/ Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz Patch0: python3.patch Patch1: bz1473908-fix-pexpect-encoding.patch +Patch2: fence_zvm-fix-uintptr_t-undeclared.patch %if 0%{?fedora} %global testagents zvm virsh raritan rcd_serial @@ -778,6 +779,9 @@ The fence-agents-zvm package contains a fence agent for IBM z/VM over IP. %{_mandir}/man8/fence_zvmip.8* %changelog +* Thu Aug 3 2017 Oyvind Albrigtsen - 4.0.24-10 +- fence_zvm: fix "uintptr_t" undeclared + * Thu Aug 3 2017 Oyvind Albrigtsen - 4.0.24-9 - Fix encoding for pexpect with Python 3.6 diff --git a/fence_zvm-fix-uintptr_t-undeclared.patch b/fence_zvm-fix-uintptr_t-undeclared.patch new file mode 100644 index 0000000..2af06a3 --- /dev/null +++ b/fence_zvm-fix-uintptr_t-undeclared.patch @@ -0,0 +1,11 @@ +diff -uNr a/fence/agents/zvm/fence_zvm.c b/fence/agents/zvm/fence_zvm.c +--- a/fence/agents/zvm/fence_zvm.c 2016-08-22 14:33:34.000000000 +0200 ++++ b/fence/agents/zvm/fence_zvm.c 2017-08-03 13:34:08.750277394 +0200 +@@ -25,6 +25,7 @@ + #ifdef __s390__ + #include + #include ++#include + #include + #include + #include