Your message dated Sat, 4 Feb 2006 09:34:00 +1100
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #336854,
regarding kphone: FTBFS on GNU/kFreeBSD
to be marked as having been forwarded to the upstream software
author(s) [EMAIL PROTECTED]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
>From [EMAIL PROTECTED] Fri Feb 03 14:34:52 2006
Return-path: <[EMAIL PROTECTED]>
Received: from 210-9-142-125.netspeed.com.au ([210.9.142.125] 
helo=dell.purcell.id.au)
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F59W0-0003ih-44
        for [EMAIL PROTECTED]; Fri, 03 Feb 2006 14:34:52 -0800
Received: from [127.0.0.1] (helo=localhost)
        by dell.purcell.id.au with esmtp (Exim 4.60)
        (envelope-from <[EMAIL PROTECTED]>)
        id 1F59VA-0003tS-QE; Sat, 04 Feb 2006 09:34:00 +1100
From: Mark Purcell <[EMAIL PROTECTED]>
To: kphone-devel@lists.sourceforge.net
Subject: Fwd: kphone: FTBFS on GNU/kFreeBSD - SOL_IP is not portable
Date: Sat, 4 Feb 2006 09:34:00 +1100
User-Agent: KMail/1.9.1
Cc: Aurelien Jarno <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="Boundary-00=_Yp94DcCQ1DFr/Hf"
Message-Id: <[EMAIL PROTECTED]>
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--Boundary-00=_Yp94DcCQ1DFr/Hf
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

kphone-devel,

FInd enclosed a patch which increases the portability of kphone.

http://bugs.debian.org/kphone

Mark

----------  Forwarded Message  ----------

Subject: kphone: FTBFS on GNU/kFreeBSD
Date: Wednesday 02 November 2005 03:59
From: Aurelien Jarno <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>      

Package: kphone
Severity: important
Tags: patch

Hi,

The current version of kphone fails to build on GNU/kFreeBSD, because
the build-dependency on libasound2-dev, which is Linux specific, could
not been satisfied. It also fails because SOL_IP is not portable. It
should be replaced by IPPROTO_IP.

Please find attached a patch to fix that. It would be nice if you could
include it in the next upload.

Thanks in advance,
Aurelien



-- System Information:
Debian Release: testing/unstable
Architecture: kfreebsd-i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: GNU/kFreeBSD 5.4-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

-------------------------------------------------------

--Boundary-00=_Yp94DcCQ1DFr/Hf
Content-Type: text/x-c;
  charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="kphone.diff"

Author: aurel32
Status: in BTS

diff -u kphone-4.2/debian/control kphone-4.2/debian/control
--- kphone-4.2/debian/control
+++ kphone-4.2/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian VoIP Team <[EMAIL PROTECTED]>
 Uploaders: Mark Purcell <[EMAIL PROTECTED]>, Kilian Krause <[EMAIL 
PROTECTED]>, Jose Carlos Garcia Sogo <[EMAIL PROTECTED]>, Santiago Garcia 
Mantinan <[EMAIL PROTECTED]>, Simon Richter <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>> 4.0.0), libssl-dev, autotools-dev, dpatch,  
libqt3-mt-dev (>= 3:3.3.4-4), libasound2-dev
+Build-Depends: debhelper (>> 4.0.0), libssl-dev, autotools-dev, dpatch,  
libqt3-mt-dev (>= 3:3.3.4-4), libasound2-dev [!kfreebsd-i386 !hurd-i386]
 Standards-Version: 3.5.8
 
 Package: kphone
--- kphone-4.2.orig/dissipate2/udpmessagesocket.cpp
+++ kphone-4.2/dissipate2/udpmessagesocket.cpp
@@ -1,5 +1,6 @@
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <netinet/in.h>
 #include <netinet/ip.h>
 #include <errno.h>
 #include <string.h>
@@ -57,7 +58,7 @@
        tos=IPTOS_LOWDELAY;
 #endif
        optlen=1;
-       if(setsockopt(socketfd,SOL_IP,IP_TOS,&tos,optlen) != 0){
+       if(setsockopt(socketfd,IPPROTO_IP,IP_TOS,&tos,optlen) != 0){
                perror("UDPMessageSocket::SetTOS");
                 return -1 ;
        }

--Boundary-00=_Yp94DcCQ1DFr/Hf--




--- End Message ---

Reply via email to