I figured out why dtdocbook failed to build last night on sparc linux.
It seems on some systems SIGLOST is exactly the same value as SIGPWR and
tclPosixString.c was putting both into the same case statement causing
the compiler to throw an error.
>From 60ee53957d5103c6a48e02af1e3f620a317c997f Mon Sep 17 00:00:00 2001
From: William Schaub <wsch...@genesi-tech.com>
Date: Thu, 16 Aug 2012 13:55:41 -0400
Subject: [PATCH 2/2] dtdocbook: on some systems SIGLOST = SIGPWR and they
should not be in the same case statement.
---
cde/programs/dtdocbook/tcl/tclPosixStr.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/cde/programs/dtdocbook/tcl/tclPosixStr.c b/cde/programs/dtdocbook/tcl/tclPosixStr.c
index 6ad2f74..72b4c26 100644
--- a/cde/programs/dtdocbook/tcl/tclPosixStr.c
+++ b/cde/programs/dtdocbook/tcl/tclPosixStr.c
@@ -1009,7 +1009,7 @@ Tcl_SignalId(sig)
#ifdef SIGPROF
case SIGPROF: return "SIGPROF";
#endif
-#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
+#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
case SIGPWR: return "SIGPWR";
#endif
#ifdef SIGQUIT
@@ -1141,7 +1141,7 @@ Tcl_SignalMsg(sig)
#ifdef SIGPROF
case SIGPROF: return "profiling alarm";
#endif
-#if defined(SIGPWR) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
+#if defined(SIGPWR) && (SIGPWR != SIGLOST) && (!defined(SIGXFSZ) || (SIGPWR != SIGXFSZ))
case SIGPWR: return "power-fail restart";
#endif
#ifdef SIGQUIT
--
1.7.10.4
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel