From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 6 22:50:01 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7FB20106568F for ; Tue, 6 Oct 2009 22:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5C9978FC18 for ; Tue, 6 Oct 2009 22:50:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n96Mo0G2086343 for ; Tue, 6 Oct 2009 22:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n96Mo0kY086342; Tue, 6 Oct 2009 22:50:00 GMT (envelope-from gnats) Resent-Date: Tue, 6 Oct 2009 22:50:00 GMT Resent-Message-Id: <200910062250.n96Mo0kY086342@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Richard Tector Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF29010656A4 for ; Tue, 6 Oct 2009 22:47:23 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 9DFF28FC18 for ; Tue, 6 Oct 2009 22:47:23 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n96MlMlY052164 for ; Tue, 6 Oct 2009 22:47:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n96MlMxj052163; Tue, 6 Oct 2009 22:47:22 GMT (envelope-from nobody) Message-Id: <200910062247.n96MlMxj052163@www.freebsd.org> Date: Tue, 6 Oct 2009 22:47:22 GMT From: Richard Tector To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/139384: audio/murmur fails to work in UDP mode on amd64 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Oct 2009 22:50:01 -0000 >Number: 139384 >Category: ports >Synopsis: audio/murmur fails to work in UDP mode on amd64 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 06 22:50:00 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Richard Tector >Release: FreeBSD 8.0-RC1 >Organization: >Environment: FreeBSD coyote.tector.org.uk 8.0-RC1 FreeBSD 8.0-RC1 #6: Tue Sep 29 13:00:54 BST 2009 richard@coyote.tector.org.uk:/usr/obj/usr/src/sys/COYOTE amd64 >Description: A bug in the murmur crypto code means that on amd64 (and possibly other 64bit architectures) mumble clients do not work correctly using the default and preferred UDP transport for voice traffic, and must instead use TCP mode. The problem was discussed at: https://sourceforge.net/projects/mumble/forums/forum/492607/topic/3378871 Further, files/patch-comipler.pri typo should be fixed to patch-compiler.pri >How-To-Repeat: Install murmur on 64bit system, try to connect using UDP with mumble. Voice is transmitted but ignored by murmur. >Fix: While this has been corrected upstream for the coming 1.2.0 release, the bug still exists in 1.1.8 installed by the port. The attached patch fixes the problem. Patch attached with submission follows: diff -uNr audio/murmur.orig/files/patch-src__CryptState.cpp audio/murmur/files/patch-src__CryptState.cpp --- audio/murmur.orig/files/patch-src__CryptState.cpp 1970-01-01 01:00:00.000000000 +0100 +++ audio/murmur/files/patch-src__CryptState.cpp 2009-10-06 23:33:56.000000000 +0100 @@ -0,0 +1,11 @@ +--- src/CryptState.cpp.orig 2009-03-22 15:05:00.000000000 +0000 ++++ src/CryptState.cpp 2009-10-06 21:19:31.000000000 +0100 +@@ -187,7 +187,7 @@ + #define SHIFTBITS 63 + typedef quint64 subblock; + +-#if __BYTE_ORDER == __BIG_ENDIAN ++#if Q_BYTE_ORDER == Q_BIG_ENDIAN + #define SWAPPED(x) (x) + #else + #ifdef __x86_64__ >Release-Note: >Audit-Trail: >Unformatted: