[email protected]
[Top] [All Lists]

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

Subject: Bug#325057: marked as forwarded twinkle: fix ppc build
From: Debian Bug Tracking System
Date: Sat, 29 Oct 2005 08:33:22 -0700
Your message dated Sat, 29 Oct 2005 16:30:36 +0100
with message-id <[email protected]>
has caused the Debian Bug report #325057,
regarding twinkle: fix ppc build
to be marked as having been forwarded to the upstream software
author(s) [email protected], [email protected], Guido 
Guenther <[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)

Received: (at 325057-forwarded) by bugs.debian.org; 29 Oct 2005 15:30:51 +0000
>From [email protected] Sat Oct 29 08:30:51 2005
Return-path: <[email protected]>
Received: from 88-110-13-143.dynamic.dsl.as9105.com (bristol.purcell.id.au) 
[] (Debian-exim)
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1EVsfS-0004wC-00; Sat, 29 Oct 2005 08:30:50 -0700
Received: from dell.purcell.id.au ([])
        by bristol.purcell.id.au with esmtp (Exim 4.52)
        id 1EVsfG-00043n-Lz; Sat, 29 Oct 2005 16:30:43 +0100
Received: from mark by dell.purcell.id.au with local (Exim 4.54)
        id 1EVsfF-0007p6-0a; Sat, 29 Oct 2005 16:30:37 +0100
Content-Disposition: inline
Content-Length: 1533
From: Mark Purcell <[email protected]>
Organization: Debian GNU Linux
To: [email protected],
 [email protected],
 Guido Guenther <[email protected]>
Date: Sat, 29 Oct 2005 16:30:36 +0100
User-Agent: KMail/1.8.2
Disposition-Notification-To: Mark Purcell <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
Message-Id: <[email protected]>
X-SA-Exim-Rcpt-To: [email protected], [email protected], 
[email protected]
X-SA-Exim-Mail-From: [email protected]
Subject: Fwd: Bug#325057: twinkle: fix ppc build
X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100)
X-SA-Exim-Scanned: Yes (on bristol.purcell.id.au)
Delivered-To: [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-Status: No, hits=-11.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
        HAS_PACKAGE autolearn=ham version=2.60-bugs.debian.org_2005_01_02


Find enclosed a patch to build twinkle on ppc architectures.


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

Subject: Bug#325057: twinkle: fix ppc build
Date: Thursday 25 August 2005 20:51
From: Guido Guenther <[email protected]>
To: Debian Bug Tracking System <[email protected]>

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

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);
+#elif defined (__linux__)
+      int fd=open("/dev/urandom",O_RDONLY);
+      read(fd,&tick,sizeof(tick));
+      close(fd);
 #     error Need some way to seed the random number generator

...it should also fix the build for other 32bit linux architectures.
Please enable these for future builds.
 -- 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)


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

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#325057: marked as forwarded (twinkle: fix ppc build), Debian Bug Tracking System <=