Package: openipmi
Severity: important
Version: 2.0.14-1
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

The SIGPWR is not standard symbolic constant for signal, see
http://www.opengroup.org/onlinepubs/009695399/basedefs/signal.h.html
It is not available on GNU/kFreeBSD, please guard it as shown bellow.

It would also be nice if you can ask upstream
to include this change.

Thanks in advance

                        Petr

--- cmdlang/ipmish.c~   2008-09-05 11:04:11.000000000 +0000
+++ cmdlang/ipmish.c    2008-09-05 11:04:11.000000000 +0000
@@ -652,7 +652,9 @@
     signal(SIGPIPE, cleanup_sig);
     signal(SIGUSR1, cleanup_sig);
     signal(SIGUSR2, cleanup_sig);
+#ifdef SIGPWR
     signal(SIGPWR, cleanup_sig);
+#endif

     stifle_history(500);
     rl_callback_handler_install("> ", rl_ipmish_cb_handler);




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to