- fence_zvm: fix "uintptr_t" undeclared
This commit is contained in:
parent
0dc0af204c
commit
32e8d6502b
@ -16,13 +16,14 @@
|
|||||||
Name: fence-agents
|
Name: fence-agents
|
||||||
Summary: Fence Agents for Red Hat Cluster
|
Summary: Fence Agents for Red Hat Cluster
|
||||||
Version: 4.0.24
|
Version: 4.0.24
|
||||||
Release: 9%{?alphatag:.%{alphatag}}%{?dist}
|
Release: 10%{?alphatag:.%{alphatag}}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sourceware.org/cluster/wiki/
|
URL: http://sourceware.org/cluster/wiki/
|
||||||
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
|
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.xz
|
||||||
Patch0: python3.patch
|
Patch0: python3.patch
|
||||||
Patch1: bz1473908-fix-pexpect-encoding.patch
|
Patch1: bz1473908-fix-pexpect-encoding.patch
|
||||||
|
Patch2: fence_zvm-fix-uintptr_t-undeclared.patch
|
||||||
|
|
||||||
%if 0%{?fedora}
|
%if 0%{?fedora}
|
||||||
%global testagents zvm virsh raritan rcd_serial
|
%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*
|
%{_mandir}/man8/fence_zvmip.8*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Aug 3 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.24-10
|
||||||
|
- fence_zvm: fix "uintptr_t" undeclared
|
||||||
|
|
||||||
* Thu Aug 3 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.24-9
|
* Thu Aug 3 2017 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.0.24-9
|
||||||
- Fix encoding for pexpect with Python 3.6
|
- Fix encoding for pexpect with Python 3.6
|
||||||
|
|
||||||
|
11
fence_zvm-fix-uintptr_t-undeclared.patch
Normal file
11
fence_zvm-fix-uintptr_t-undeclared.patch
Normal file
@ -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 <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
+#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <fcntl.h>
|
Loading…
Reference in New Issue
Block a user