From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 23 03:50:10 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A584C106564A for ; Mon, 23 Jul 2012 03:50:10 +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 7DF718FC12 for ; Mon, 23 Jul 2012 03:50:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q6N3oAuW018860 for ; Mon, 23 Jul 2012 03:50:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q6N3oAsR018859; Mon, 23 Jul 2012 03:50:10 GMT (envelope-from gnats) Resent-Date: Mon, 23 Jul 2012 03:50:10 GMT Resent-Message-Id: <201207230350.q6N3oAsR018859@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, RyoTa SimaMoto Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6CB01065670 for ; Mon, 23 Jul 2012 03:49:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id B90558FC0A for ; Mon, 23 Jul 2012 03:49:47 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q6N3nl0l009312 for ; Mon, 23 Jul 2012 03:49:47 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q6N3nlk3009311; Mon, 23 Jul 2012 03:49:47 GMT (envelope-from nobody) Message-Id: <201207230349.q6N3nlk3009311@red.freebsd.org> Date: Mon, 23 Jul 2012 03:49:47 GMT From: RyoTa SimaMoto To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/170079: audio/wildmidi: typo fix 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: Mon, 23 Jul 2012 03:50:10 -0000 >Number: 170079 >Category: ports >Synopsis: audio/wildmidi: typo fix >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 23 03:50:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: RyoTa SimaMoto >Release: 9.0-STABLE >Organization: >Environment: FreeBSD takiba.fakenet 9.0-STABLE FreeBSD 9.0-STABLE #11 r235800: Fri May 25 02:09:21 JST 2012 liangtai@takiba.fakenet:/usr/obj/usr/src/sys/VAIO i386 >Description: Correct wrong use of '&&' instead of '&' for logical "bit and" in src/wildmidi_lib.c by this patch. These typographical errors cause failure on clang build. >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # wildmidi/files/patch-wildmidi_lib.c--BIT_AND # echo x - wildmidi/files/patch-wildmidi_lib.c--BIT_AND sed 's/^X//' >wildmidi/files/patch-wildmidi_lib.c--BIT_AND << 'a737f7741eb44abc4f68944228e027a4' X--- src/wildmidi_lib.c.orig 2011-12-01 05:04:29.000000000 +0900 X+++ src/wildmidi_lib.c 2012-03-02 07:44:34.000000000 +0900 X@@ -2182,11 +2182,11 @@ X return NULL; X } X X- if (WM_MixerOptions && WM_MO_WHOLETEMPO) X+ if (WM_MixerOptions & WM_MO_WHOLETEMPO) X { X float bpm_f = 60000000.0 / (float)tempo; X tempo = 60000000 / (unsigned long int)bpm_f; X- } else if (WM_MixerOptions && WM_MO_ROUNDTEMPO) X+ } else if (WM_MixerOptions & WM_MO_ROUNDTEMPO) X { X float bpm_fr = 60000000.0 / (float)tempo + 0.5; X tempo = 60000000 / (unsigned long int)bpm_fr; X@@ -2420,11 +2420,11 @@ X tempo = 500000; X X { X- if (WM_MixerOptions && WM_MO_WHOLETEMPO) X+ if (WM_MixerOptions & WM_MO_WHOLETEMPO) X { X float bpm_f = 60000000.0 / (float)tempo; X tempo = 60000000 / (unsigned long int)bpm_f; X- } else if (WM_MixerOptions && WM_MO_ROUNDTEMPO) X+ } else if (WM_MixerOptions & WM_MO_ROUNDTEMPO) X { X float bpm_fr = 60000000.0 / (float)tempo + 0.5; X tempo = 60000000 / (unsigned long int)bpm_fr; a737f7741eb44abc4f68944228e027a4 exit >Release-Note: >Audit-Trail: >Unformatted: