summaryrefslogtreecommitdiff
path: root/recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch')
-rw-r--r--recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch b/recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch
new file mode 100644
index 0000000000..a16854024c
--- /dev/null
+++ b/recipes/pacemaker/pacemaker-1.0.8/pacemaker-remove-native-includes.patch
@@ -0,0 +1,22 @@
+Index: Pacemaker-1-0-Pacemaker-1.0.8/configure.ac
+===================================================================
+--- Pacemaker-1-0-Pacemaker-1.0.8.orig/configure.ac 2010-03-16 22:46:38.000000000 +0300
++++ Pacemaker-1-0-Pacemaker-1.0.8/configure.ac 2010-03-23 00:06:28.000000000 +0300
+@@ -325,7 +325,6 @@
+ ;;
+ *linux*)
+ AC_DEFINE_UNQUOTED(ON_LINUX, 1, Compiling for Linux platform)
+- CFLAGS="$CFLAGS -I${prefix}/include"
+ ;;
+ darwin*)
+ AC_DEFINE_UNQUOTED(ON_DARWIN, 1, Compiling for Darwin platform)
+@@ -334,9 +333,6 @@
+ ;;
+ esac
+
+-dnl Eventually remove this
+-CFLAGS="$CFLAGS -I${prefix}/include/heartbeat"
+-
+ AC_SUBST(INIT_EXT)
+ AC_DEFINE_UNQUOTED(HA_LOG_FACILITY, LOG_DAEMON, Default logging facility)
+