[packages/pacemaker] -automake.patch added

jajcus jajcus at pld-linux.org
Fri Jun 21 21:44:42 CEST 2013


commit 9ab8266ac52efb51757f45a287cbb457fc1f11fc
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Fri Jun 21 21:28:09 2013 +0200

    -automake.patch added
    
    fixes compatibility with current autpmake by replacing AM_CONFIG_HEADER
    with AC_CONFIG_HEADERS

 pacemaker-automake.patch | 12 ++++++++++++
 pacemaker.spec           |  2 ++
 2 files changed, 14 insertions(+)
---
diff --git a/pacemaker.spec b/pacemaker.spec
index cde2a6a..9071412 100644
--- a/pacemaker.spec
+++ b/pacemaker.spec
@@ -13,6 +13,7 @@ Source1:	%{name}.tmpfiles
 Source2:	%{name}.init
 Source3:	%{name}.service
 Patch0:		%{name}-libs.patch
+Patch1:		%{name}-automake.patch
 URL:		http://clusterlabs.org/wiki/Main_Page
 BuildRequires:	asciidoc
 BuildRequires:	autoconf
@@ -122,6 +123,7 @@ Static Pacemaker libraries.
 %prep
 %setup -qn pacemaker-Pacemaker-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__libtoolize}
diff --git a/pacemaker-automake.patch b/pacemaker-automake.patch
new file mode 100644
index 0000000..736ccc1
--- /dev/null
+++ b/pacemaker-automake.patch
@@ -0,0 +1,12 @@
+diff -dur pacemaker-Pacemaker-1.1.9.orig/configure.ac pacemaker-Pacemaker-1.1.9/configure.ac
+--- pacemaker-Pacemaker-1.1.9.orig/configure.ac	2013-03-08 11:48:01.000000000 +0100
++++ pacemaker-Pacemaker-1.1.9/configure.ac	2013-06-21 20:48:16.759547334 +0200
+@@ -42,7 +42,7 @@
+ dnl     new defines
+ dnl   - Should not include HAVE_* defines
+ dnl   - Safe to include anywhere
+-AM_CONFIG_HEADER(include/config.h include/crm_config.h)
++AC_CONFIG_HEADERS(include/config.h include/crm_config.h)
+ ALL_LINGUAS="en fr"
+ 
+ AC_ARG_WITH(version,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pacemaker.git/commitdiff/7b939a861d7dcbab0d6a9278655d2022dd7c92cd



More information about the pld-cvs-commit mailing list