From owner-svn-ports-head@FreeBSD.ORG Thu Jun 26 07:56:56 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 365CA6AD; Thu, 26 Jun 2014 07:56:56 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 231732A8B; Thu, 26 Jun 2014 07:56:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s5Q7uupk036771; Thu, 26 Jun 2014 07:56:56 GMT (envelope-from oliver@svn.freebsd.org) Received: (from oliver@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s5Q7utsb036770; Thu, 26 Jun 2014 07:56:55 GMT (envelope-from oliver@svn.freebsd.org) Message-Id: <201406260756.s5Q7utsb036770@svn.freebsd.org> From: Oliver Lehmann Date: Thu, 26 Jun 2014 07:56:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r359319 - head/multimedia/audacious/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2014 07:56:56 -0000 Author: oliver Date: Thu Jun 26 07:56:55 2014 New Revision: 359319 URL: http://svnweb.freebsd.org/changeset/ports/359319 QAT: https://qat.redports.org/buildarchive/r359319/ Log: fix build for FreeBSD 8 Added: head/multimedia/audacious/files/patch-src-audacious-fft.c (contents, props changed) Added: head/multimedia/audacious/files/patch-src-audacious-fft.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/audacious/files/patch-src-audacious-fft.c Thu Jun 26 07:56:55 2014 (r359319) @@ -0,0 +1,16 @@ +--- src/audacious/fft.c.orig 2014-06-25 12:30:54.752468573 +0200 ++++ src/audacious/fft.c 2014-06-25 12:32:43.785461802 +0200 +@@ -30,6 +30,13 @@ + static float complex roots[N / 2]; /* N-th roots of unity */ + static char generated = 0; /* set if tables have been generated */ + ++#if defined(__FreeBSD__) ++#include ++#if __FreeBSD_version < 900000 ++#define cexpf(x) (expf(crealf(x))*(cosf(cimagf(x))+sinf(cimagf(x))*I)) ++#endif ++#endif ++ + /* Reverse the order of the lowest LOGN bits in an integer. */ + + static int bit_reverse (int x)