From owner-cvs-all@FreeBSD.ORG Mon Jul 30 23:52:15 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 107F316A419; Mon, 30 Jul 2007 23:52:15 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0933B13C478; Mon, 30 Jul 2007 23:52:15 +0000 (UTC) (envelope-from truckman@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6UNqFST030335; Mon, 30 Jul 2007 23:52:15 GMT (envelope-from truckman@repoman.freebsd.org) Received: (from truckman@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6UNqEnB030334; Mon, 30 Jul 2007 23:52:14 GMT (envelope-from truckman) Message-Id: <200707302352.l6UNqEnB030334@repoman.freebsd.org> From: Don Lewis Date: Mon, 30 Jul 2007 23:52:14 +0000 (UTC) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: ports/audio/snd/files patch-configure X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 23:52:15 -0000 truckman 2007-07-30 23:52:14 UTC FreeBSD ports repository (src committer) Added files: audio/snd/files patch-configure Log: The configure script in this port attempts to detect the presense of complex math support by compiling a test program containing this statement: val = ccosh(cacosh(1.5) / 100.0); This does not work with GCC 4.2 in -CURRENT because the compiler totally optimizes away the statement, so the lack of these complex functions in the library is not detected. This causes the actual build to fail because the linker is unable to find various complex math functions in the system library. Fix the test by declaring "val" as volatile to prevent the compiler from optimizing away the expression. PR: ports/115028 Revision Changes Path 1.1 +11 -0 ports/audio/snd/files/patch-configure (new)