<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>224591</bug_id>
          
          <creation_ts>2008-06-02 11:33 0000</creation_ts>
          <short_desc>app-crypt/seahorse-2.22.2 fails to build on FreeBSD</short_desc>
          <delta_ts>2008-06-15 12:35:11 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://bugzilla.gnome.org/show_bug.cgi?id=536213</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>aballier@gentoo.org</reporter>
          <assigned_to>compnerd@gentoo.org</assigned_to>
          <cc>gnome@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-06-02 11:33:49 0000</bug_when>
            <thetext>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 &apos;seahorse_ssh_operation_cancel&apos;:
seahorse-ssh-operation.c:567: error: &apos;SIGTERM&apos; 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 &quot;config.h&quot;
+#include &lt;signal.h&gt;
 #include &lt;sys/wait.h&gt;
 #include &lt;sys/socket.h&gt;
 #include &lt;gnome.h&gt;



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

will attach the patch that will allow me to keyword it</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>aballier@gentoo.org</who>
            <bug_when>2008-06-02 11:34:31 0000</bug_when>
            <thetext>Created an attachment (id=155217)
build fix

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eva@gentoo.org</who>
            <bug_when>2008-06-15 12:35:11 0000</bug_when>
            <thetext>commited, thanks for reporting.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>155217</attachid>
            <date>2008-06-02 11:34 0000</date>
            <desc>build fix</desc>
            <filename>seahorsebsd.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNlYWhvcnNlLTIuMjIuMi9saWJzZWFob3JzZS9zZWFob3JzZS1zc2gtb3BlcmF0aW9uLmMu
b2xkCTIwMDgtMDYtMDIgMTE6MDg6NDQgKzAwMDAKKysrIHNlYWhvcnNlLTIuMjIuMi9saWJzZWFo
b3JzZS9zZWFob3JzZS1zc2gtb3BlcmF0aW9uLmMJMjAwOC0wNi0wMiAxMTowODo1NyArMDAwMApA
QCAtMjAsNiArMjAsNyBAQAogICovCiAKICNpbmNsdWRlICJjb25maWcuaCIKKyNpbmNsdWRlIDxz
aWduYWwuaD4KICNpbmNsdWRlIDxzeXMvd2FpdC5oPgogI2luY2x1ZGUgPHN5cy9zb2NrZXQuaD4K
ICNpbmNsdWRlIDxnbm9tZS5oPgo=
</data>        

          </attachment>
    </bug>

</bugzilla>