Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2014 07:56:55 +0000 (UTC)
From:      Oliver Lehmann <oliver@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359319 - head/multimedia/audacious/files
Message-ID:  <201406260756.s5Q7utsb036770@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <osreldate.h>
++#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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406260756.s5Q7utsb036770>