Skip to contentSkip to conversation

cluster: RHEL56 - fence-agents: Work around bad nss/nspr prototypes

Cluster-devel Christine Caulfield 1 participant 1 message Apr 22, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 25 lines · Lon Hohberger
Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=d4ae5b0f197288fafe884046ba9d9cd1c9c556b0
Commit:        d4ae5b0f197288fafe884046ba9d9cd1c9c556b0
Parent:        c57d8c5a6b3ba804a0d3242fdbd9daeb9476b58d
Author:        Lon Hohberger<[email protected]>
AuthorDate:    Wed Apr 21 11:35:28 2010 -0400
Committer:     Lon Hohberger<[email protected]>
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

---
  fence/agents/xvm/Makefile |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
fence/agents/xvm/Makefile +0 -0
index 4118e34..a8c8b56 100644

fence/agents/xvm/Makefile INCLUDE=-I${top_srcdir}/include -I${top_srcdir}/config \ · line 34

Quoted 8 lines
fence/agents/xvm/Makefile +1 -1
@@ -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