mirror of
https://git.freebsd.org/ports.git
synced 2025-07-04 10:59:14 -04:00
Additional port changes: * Changed to DISTVERSION * Added LICENSE_FILE * Updated USE_GNOME, USE_QT5 * Removed INSTALLS_ICONS PR: 224661 Submitted by: peter@netkey.at (maintainer) Approved by: tcberner (mentor, implicit)
21 lines
490 B
C++
21 lines
490 B
C++
--- retroshare-gui/src/gui/elastic/fft.h.orig 2017-04-21 15:57:46 UTC
|
|
+++ retroshare-gui/src/gui/elastic/fft.h
|
|
@@ -85,6 +85,7 @@
|
|
|
|
#pragma once
|
|
#include <math.h>
|
|
+#include <sys/param.h>
|
|
|
|
class fft
|
|
{
|
|
@@ -106,6 +107,9 @@
|
|
for (j = 2; j <= nwh - 2; j += 2) {
|
|
#ifdef __APPLE__
|
|
__sincos(delta*j,&y,&x);
|
|
+#elif defined __clang__ && defined __FreeBSD_version && __FreeBSD_version < 1200000
|
|
+ x = cos(delta * j);
|
|
+ y = sin(delta * j);
|
|
#else
|
|
sincos(delta*j,&y,&x) ;
|
|
#endif
|
|
|