From e72f4c3581e01e394aa8db4c171f5dcf5a73ebafa8a3d80b268bab5e25b13089 Mon Sep 17 00:00:00 2001 From: Tim Serong Date: Mon, 9 Jan 2012 08:27:17 +0000 Subject: [PATCH] - Only include glib.h in plugin.h (don't directly use glib/ghash.h) OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=28 --- fix-glib_h-include.patch | 13 +++++++++++++ pacemaker.changes | 5 +++++ pacemaker.spec | 5 +++-- 3 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 fix-glib_h-include.patch diff --git a/fix-glib_h-include.patch b/fix-glib_h-include.patch new file mode 100644 index 0000000..d3e072b --- /dev/null +++ b/fix-glib_h-include.patch @@ -0,0 +1,13 @@ +Index: pacemaker/lib/ais/plugin.c +=================================================================== +--- pacemaker.orig/lib/ais/plugin.c ++++ pacemaker/lib/ais/plugin.c +@@ -40,7 +40,7 @@ + #include "plugin.h" + #include "utils.h" + +-#include ++#include + + #include + #include diff --git a/pacemaker.changes b/pacemaker.changes index 46e5b31..29c2153 100644 --- a/pacemaker.changes +++ b/pacemaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 9 08:26:22 UTC 2012 - tserong@suse.com + +- Only include glib.h in plugin.h (don't directly use glib/ghash.h) + ------------------------------------------------------------------- Fri Dec 16 04:42:38 UTC 2011 - tserong@suse.com diff --git a/pacemaker.spec b/pacemaker.spec index d93b0f8..a56aac2 100644 --- a/pacemaker.spec +++ b/pacemaker.spec @@ -1,7 +1,7 @@ # # spec file for package pacemaker # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # - %global pcmk_docdir %{_docdir}/%{name} %if 0%{?suse_version} %define _libexecdir %{_libdir} @@ -51,6 +50,7 @@ Patch3: pacemaker-rsc_ticket-schema.diff Patch4: pacemaker-template-schema.diff Patch5: bug-728579_pacemaker-stonith-dev-id.diff Patch6: pacemaker-NodeUtilization-RA.diff +Patch7: fix-glib_h-include.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Conflicts: heartbeat < 3.0 # We need libglue2, not libheartbeat2 @@ -185,6 +185,7 @@ Authors: %patch4 -p1 %patch5 -p1 %patch6 -p1 +%patch7 -p1 ########################################################### %build