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

[Cluster-devel] [PATCH] Fix hppa build failure



Hi Lon,

a couple of patches i did send you a while back had a wrong ifdef entry that
makes the cluster suite fail to build on hppa/parisc.

The patch to fix the problem (provided by Lamont in CC) is in attachment. Please
apply.

Thanks
Fabio

-- 
I'm going to make him an offer he can't refuse.
Index: cman/qdisk/disk_util.c
===================================================================
RCS file: /cvs/cluster/cluster/cman/qdisk/disk_util.c,v
retrieving revision 1.4
diff -u -r1.4 disk_util.c
--- cman/qdisk/disk_util.c	26 Jan 2007 14:35:13 -0000	1.4
+++ cman/qdisk/disk_util.c	22 Apr 2007 04:13:31 -0000
@@ -71,7 +71,7 @@
 	if (!fp)
 		return -1;
 
-#if defined(__sparc__) || defined(__hppa__) || defined(__sparc64__) || defined (__hppa64__)
+#if defined(__sparc__) || defined(__sparc64__)
 	rv = fscanf(fp,"%ld.%d %ld.%d\n", &tv->tv_sec, &tv->tv_usec,
 		    &junk.tv_sec, &junk.tv_usec);
 #else
Index: rgmanager/src/clulib/vft.c
===================================================================
RCS file: /cvs/cluster/cluster/rgmanager/src/clulib/vft.c,v
retrieving revision 1.19
diff -u -r1.19 vft.c
--- rgmanager/src/clulib/vft.c	28 Mar 2007 14:54:12 -0000	1.19
+++ rgmanager/src/clulib/vft.c	22 Apr 2007 04:13:36 -0000
@@ -731,7 +731,7 @@
 	if (!fp)
 		return -1;
 
-#if defined(__sparc__) || defined(__hppa__) || defined(__sparc64__) || defined (__hppa64__)
+#if defined(__sparc__) || defined(__sparc64__)
 	rv = fscanf(fp,"%ld.%d %ld.%d\n", &tv->tv_sec, &tv->tv_usec,
 		    &junk.tv_sec, &junk.tv_usec);
 #else

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