summaryrefslogtreecommitdiff
path: root/science/gnudatalanguage/files/patch-src_ssrfpack.c
blob: 2b942e9863320f563a0d1058430a5264286e35a0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/ssrfpack.c.orig	2018-04-07 19:40:08 UTC
+++ src/ssrfpack.c
@@ -7,6 +7,10 @@
 #define sincosf(x, s, c) __sincosf(x, s, c)
 #endif
 
+#ifdef __FreeBSD__
+#define sincos(x,s,c) *s = sin(x); *c = cos(x)
+#endif
+
 #ifdef __cplusplus
 extern "C" {
 #endif