Bug#325057: marked as done (twinkle: fix ppc build)

Debian Bug Tracking System owner at bugs.debian.org
Sun Oct 30 09:03:12 UTC 2005


Your message dated Sun, 30 Oct 2005 01:17:06 -0700
with message-id <E1EW8NG-0006Y7-00 at spohr.debian.org>
and subject line Bug#325057: fixed in twinkle 0.3.2-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 25 Aug 2005 20:16:39 +0000
>From agx at sigxcpu.org Thu Aug 25 13:16:39 2005
Return-path: <agx at sigxcpu.org>
Received: from honk1.physik.uni-konstanz.de [134.34.140.224] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1E8O9P-0000De-00; Thu, 25 Aug 2005 13:16:39 -0700
Received: from localhost (localhost.localnet [127.0.0.1])
	by honk1.physik.uni-konstanz.de (Postfix) with ESMTP id F005C2BBE3;
	Thu, 25 Aug 2005 22:16:36 +0200 (CEST)
Received: from honk1.physik.uni-konstanz.de ([127.0.0.1])
	by localhost (honk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
	id 24613-13; Thu, 25 Aug 2005 22:16:32 +0200 (CEST)
Received: from bogon.sigxcpu.org (xdsl-213-168-120-51.netcologne.de [213.168.120.51])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by honk1.physik.uni-konstanz.de (Postfix) with ESMTP id DB9C42BBE2;
	Thu, 25 Aug 2005 22:16:31 +0200 (CEST)
Received: by bogon.sigxcpu.org (Postfix, from userid 1000)
	id D08C811E5F8; Thu, 25 Aug 2005 21:51:22 +0200 (CEST)
Date: Thu, 25 Aug 2005 21:51:21 +0200
From: Guido Guenther <agx at sigxcpu.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: twinkle: fix ppc build
Message-ID: <20050825195121.GA27379 at bogon.ms20.nix>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.16
User-Agent: Mutt/1.5.10i
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at honk.physik.uni-konstanz.de
Delivered-To: submit at bugs.debian.org
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

Package: twinkle
Version: fix build on 32 bit arches
Severity: wishlist
Tags: patch

Hi,
this patch fixes the ppc build...

--- tmp/twinkle-0.2.1/src/stun/stun.cxx	2005-07-28 22:46:57.000000000 +0200
+++ twinkle-0.2.1/src/stun/stun.cxx	2005-08-25 21:42:52.000000000 +0200
@@ -676,10 +676,14 @@
       asm("rdtsc" : "=A" (tick));
 #elif defined (__SUNPRO_CC) || defined( __sparc__ )	
       tick = gethrtime();
-#elif defined(__MACH__) 
+#elif defined(__MACH__)
       int fd=open("/dev/random",O_RDONLY);
       read(fd,&tick,sizeof(tick));
       closesocket(fd);
+#elif defined (__linux__)
+      int fd=open("/dev/urandom",O_RDONLY);
+      read(fd,&tick,sizeof(tick));
+      close(fd);
 #else
 #     error Need some way to seed the random number generator 
 #endif 

...it should also fix the build for other 32bit linux architectures.
Please enable these for future builds.
Cheers,
 -- Guido

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc3-agx0
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

---------------------------------------
Received: (at 325057-close) by bugs.debian.org; 30 Oct 2005 08:17:34 +0000
>From katie at spohr.debian.org Sun Oct 30 01:17:34 2005
Return-path: <katie at spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EW8NG-0006Y7-00; Sun, 30 Oct 2005 01:17:06 -0700
From: Mark Purcell <msp at debian.org>
To: 325057-close at bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#325057: fixed in twinkle 0.3.2-4
Message-Id: <E1EW8NG-0006Y7-00 at spohr.debian.org>
Sender: Archive Administrator <katie at spohr.debian.org>
Date: Sun, 30 Oct 2005 01:17:06 -0700
Delivered-To: 325057-close at bugs.debian.org
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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: twinkle
Source-Version: 0.3.2-4

We believe that the bug you reported is fixed in the latest version of
twinkle, which is due to be installed in the Debian FTP archive:

twinkle_0.3.2-4.diff.gz
  to pool/main/t/twinkle/twinkle_0.3.2-4.diff.gz
twinkle_0.3.2-4.dsc
  to pool/main/t/twinkle/twinkle_0.3.2-4.dsc
twinkle_0.3.2-4_i386.deb
  to pool/main/t/twinkle/twinkle_0.3.2-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 325057 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mark Purcell <msp at debian.org> (supplier of updated twinkle package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 30 Oct 2005 07:56:45 +0000
Source: twinkle
Binary: twinkle
Architecture: source i386
Version: 0.3.2-4
Distribution: unstable
Urgency: low
Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
Changed-By: Mark Purcell <msp at debian.org>
Description: 
 twinkle    - Voice over Internet Protocol (VoIP) SIP Phone
Closes: 325057
Changes: 
 twinkle (0.3.2-4) unstable; urgency=low
 .
   * Add Build-Depends: kdelibs4-dev kdelibs-bin, libasounds2-dev, libxml2-dev
     - fix ppc build (Closes: #325057)
   * Remove ppc-build patch, obsolete by upstream v 0.3
Files: 
 ccdc92910ceed57bb70360d2c3fc6f72 969 comm optional twinkle_0.3.2-4.dsc
 cb4e424e88d1f6af96e7c45fbbd61399 4497 comm optional twinkle_0.3.2-4.diff.gz
 35b631f0992a96e8e6c6d9041e8b9180 826906 comm optional twinkle_0.3.2-4_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDZH4WoCzanz0IthIRAv0LAJ0QOOZwo2Fj6qAPiA6bZB6Ic6sfOQCdHUv4
K4lzKLM4S64lM0qBSqNR0CA=
=huFS
-----END PGP SIGNATURE-----




More information about the Pkg-voip-maintainers mailing list