Bug 224591 - app-crypt/seahorse-2.22.2 fails to build on FreeBSD
Bug#: 224591 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: compnerd@gentoo.org Reported By: aballier@gentoo.org
Component: Applications
URL:  http://bugzilla.gnome.org/show_bug.cgi?id=536213
Summary: app-crypt/seahorse-2.22.2 fails to build on FreeBSD
Keywords:  
Status Whiteboard: 
Opened: 2008-06-02 11:33 0000
Description:   Opened: 2008-06-02 11:33 0000
On linux this is not a problem as sys/wait.h includes signal.h, but on FreeBSD
it does not and I get the following compile failure:


seahorse-ssh-operation.c: In function 'seahorse_ssh_operation_cancel':
seahorse-ssh-operation.c:567: error: 'SIGTERM' undeclared (first use in this
function)
seahorse-ssh-operation.c:567: error: (Each undeclared identifier is reported
only once
seahorse-ssh-operation.c:567: error: for each function it appears in.)
gmake[1]: *** [seahorse-ssh-operation.o] Error 1



Fix is trivial:
--- seahorse-ssh-operation.c.old        2008-06-02 11:08:44 +0000
+++ seahorse-ssh-operation.c    2008-06-02 11:08:57 +0000
@@ -20,6 +20,7 @@
  */

 #include "config.h"
+#include <signal.h>
 #include <sys/wait.h>
 #include <sys/socket.h>
 #include <gnome.h>



cf: http://bugzilla.gnome.org/show_bug.cgi?id=536213

will attach the patch that will allow me to keyword it

------- Comment #1 From Alexis Ballier 2008-06-02 11:34:31 0000 -------
Created an attachment (id=155217) [details]
build fix

------- Comment #2 From Gilles Dartiguelongue 2008-06-15 12:35:11 0000 -------
commited, thanks for reporting.