freebsd-ports/science/gnudatalanguage/files/patch-src_ssrfpack.c
Thierry Thomas 0b5864f66c - Upgrade math/eigen3 to 3.3.8;
- Add some dependencies which might be detected by Find_Package but not registered;

- Bump PORTREVISION of consumers.

PR:		250833
Submitted by:	/me
Approved by:	tcberner@ (KDE / maintainer) + exp-run
2020-12-12 17:04:37 +00:00

13 lines
268 B
C

--- src/ssrfpack.c.orig 2020-03-05 09:15:01 UTC
+++ src/ssrfpack.c
@@ -15,6 +15,10 @@
# define sincos(x,s,c) (*s = sin(x), *c = cos(x))
#endif
+#ifdef __FreeBSD__
+#define sincos(x,s,c) *s = sin(x); *c = cos(x)
+#endif
+
#ifdef __cplusplus
extern "C" {
#endif