[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Cluster-devel] cluster: RHEL56 - fence-agents: Work around bad nss/nspr prototypes



On 21/04/10 16:51, Lon Hohberger wrote:
Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d4ae5b0f197288fafe884046ba9d9cd1c9c556b0
Commit:        d4ae5b0f197288fafe884046ba9d9cd1c9c556b0
Parent:        c57d8c5a6b3ba804a0d3242fdbd9daeb9476b58d
Author:        Lon Hohberger<lhh redhat com>
AuthorDate:    Wed Apr 21 11:35:28 2010 -0400
Committer:     Lon Hohberger<lhh redhat com>
CommitterDate: Wed Apr 21 11:35:28 2010 -0400

fence-agents: Work around bad nss/nspr prototypes

This patch allows fence_xvm[d] to compile with
nss/nspr installations which have bad prototypes.

Resolves: bz#575157

Signed-off-by: Lon Hohberger<lhh redhat com>
---
  fence/agents/xvm/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/xvm/Makefile b/fence/agents/xvm/Makefile
index 4118e34..a8c8b56 100644
--- a/fence/agents/xvm/Makefile
+++ b/fence/agents/xvm/Makefile
@@ -28,7 +28,7 @@ INCLUDE=-I${top_srcdir}/include -I${top_srcdir}/config \
  	-I../../../cman/lib -I../../../ccs/lib -I/usr/include/libxml2

  CFLAGS+=-DFENCE_RELEASE_NAME=\"${RELEASE}\" \
-	-Wall -Werror -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE
+	-Wall -Wstrict-prototypes -Wshadow -ggdb -D_GNU_SOURCE

  LIBS+=-L../../../cman/lib -L../../../ccs/lib -L${libdir}/openais \
        -L../../../dlm/lib -lnss3 -lxml2

Lon, that's fine as far as it goes ... but now you also need to backport that to the Zstreams too. OR we get the real problem fixed :S

Chrissie


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]