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

[Cluster-devel] [PATCH] Fix clulib/alloc.c build on PARISC



Hi Lon,

this is similar to the ia64 fix commit I did in the past. Could you please apply
if you approve the fix?

I am on my way to vacation and won't manage to catch you on IRC for an ACK.

Thanks
Fabio

-- 
I'm going to make him an offer he can't refuse.
? make/defines.mk
Index: rgmanager/ChangeLog
===================================================================
RCS file: /cvs/cluster/cluster/rgmanager/ChangeLog,v
retrieving revision 1.52
diff -u -r1.52 ChangeLog
--- rgmanager/ChangeLog	12 Jul 2007 11:25:09 -0000	1.52
+++ rgmanager/ChangeLog	20 Jul 2007 04:37:53 -0000
@@ -1,3 +1,7 @@
+2007-07-20  Fabio M. Di Nitto <fabbione at ubuntu.com>
+	* rgmanager/src/clulib/alloc.c: Undefine DEBUG when building on
+	PARISC. __builtin_address needs the same love as IA64.
+
 2007-07-12 Marek Grac <mgrac at redhat.com>
 	* src/resources/Makefile: Fix #245178 - install RA for named
 
Index: rgmanager/src/clulib/alloc.c
===================================================================
RCS file: /cvs/cluster/cluster/rgmanager/src/clulib/alloc.c,v
retrieving revision 1.11
diff -u -r1.11 alloc.c
--- rgmanager/src/clulib/alloc.c	21 Jun 2007 18:39:08 -0000	1.11
+++ rgmanager/src/clulib/alloc.c	20 Jul 2007 04:37:54 -0000
@@ -116,7 +116,7 @@
 #include <unistd.h>
 #include <sys/wait.h>
 
-#ifndef __ia64__
+#if !defined(__ia64__) && !defined(__hppa__)
 #ifndef DEBUG
 #define DEBUG			/* Record program counter of malloc/calloc */
 #endif				/* or realloc call; print misc stuff out */

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