freebsd-ports/audio/rezound/files/patch-src_backend_CSound_defs.h
Alexey Dokuchaev 44b1e2aafe - Resurrect `audio/rezound' as the days of gcc/libstdc++ mess are gone
(at least on tier-1 architectures)
- Update to version 0.13.1beta which includes many C++ related fixes
  (unfortunately, a number of issues still remain to be patched)
- Let the compiler handle template instantiation of ``TPoolFile'' [1]
- Use native atomics instead of pulling Boost header
- Convert few remaining sed(1) in-place editing to patch files
- Bump FOX toolkit version being used (1.4 -> 1.6)
- Get rid of absolute port origins when specifying dependencies
- Unbreak NLS option (and enable it back by default)

[1] http://bugs.gentoo.org/334797
2017-03-03 16:22:28 +00:00

13 lines
456 B
C

--- src/backend/CSound_defs.h.orig 2004-06-18 10:45:47.000000000 +0800
+++ src/backend/CSound_defs.h 2012-07-06 14:10:05.000000000 +0800
@@ -50,6 +50,10 @@
#define MAX_LENGTH (0x7fffffffffffffffLL-(1024LL*1024LL))
#include <math.h>
+ extern "C" {
+ long double logl(long double);
+ long double expl(long double);
+ }
#define sample_fpos_floor(a) (floorl(a))
#define sample_fpos_ceil(a) (ceill(a))
#define sample_fpos_round(a) (nearbyintl(a))