ARM FTBFS fix.
This commit is contained in:
parent
9582f99b8c
commit
d0bfec090f
10
pacemaker-1.1.8-cast-align.patch
Normal file
10
pacemaker-1.1.8-cast-align.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- configure.ac~ 2012-08-31 13:31:49.000000000 -0500
|
||||||
|
+++ configure.ac 2012-08-31 13:55:07.150000002 -0500
|
||||||
|
@@ -1593,7 +1593,6 @@
|
||||||
|
-Wall
|
||||||
|
-Waggregate-return
|
||||||
|
-Wbad-function-cast
|
||||||
|
- -Wcast-align
|
||||||
|
-Wdeclaration-after-statement
|
||||||
|
-Wendif-labels
|
||||||
|
-Wfloat-equal
|
@ -2,7 +2,7 @@
|
|||||||
%global uname hacluster
|
%global uname hacluster
|
||||||
%global pcmk_docdir %{_docdir}/%{name}
|
%global pcmk_docdir %{_docdir}/%{name}
|
||||||
|
|
||||||
%global specversion 1
|
%global specversion 2
|
||||||
%global upstream_version 394e906
|
%global upstream_version 394e906
|
||||||
%global upstream_prefix ClusterLabs-pacemaker
|
%global upstream_prefix ClusterLabs-pacemaker
|
||||||
|
|
||||||
@ -74,6 +74,7 @@ Group: System Environment/Daemons
|
|||||||
# export VER={upstream_version}
|
# export VER={upstream_version}
|
||||||
# wget --no-check-certificate -O ClusterLabs-pacemaker-${VER}.tar.gz https://github.com/ClusterLabs/pacemaker/tarball/${VER}
|
# wget --no-check-certificate -O ClusterLabs-pacemaker-${VER}.tar.gz https://github.com/ClusterLabs/pacemaker/tarball/${VER}
|
||||||
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
Source0: %{upstream_prefix}-%{upstream_version}.tar.gz
|
||||||
|
Patch0: pacemaker-1.1.8-cast-align.patch
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Requires: resource-agents
|
Requires: resource-agents
|
||||||
@ -285,6 +286,8 @@ manager for Linux-HA (Heartbeat) and/or Corosync.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n %{upstream_prefix}-%{upstream_version}
|
%setup -q -n %{upstream_prefix}-%{upstream_version}
|
||||||
|
|
||||||
|
%patch0 -p0
|
||||||
|
|
||||||
# Force the local time
|
# Force the local time
|
||||||
#
|
#
|
||||||
# 'hg archive' sets the file date to the date of the last commit.
|
# 'hg archive' sets the file date to the date of the last commit.
|
||||||
@ -526,6 +529,8 @@ exit 0
|
|||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 17 2012 Jon Ciesla <limburgher@gmail.com> 1.1.8-2
|
||||||
|
- Fix FTBFS on ARM by removing cast-align.
|
||||||
|
|
||||||
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-1
|
* Fri Sep 21 2012 Andrew Beekhof <andrew@beekhof.net> 1.1.8-1
|
||||||
- Rebuild for upstream 1.1.8 release
|
- Rebuild for upstream 1.1.8 release
|
||||||
|
Loading…
Reference in New Issue
Block a user