freebsd-ports/audio/rezound/files/patch-src_backend_CSound_defs.h
Alexey Dokuchaev df187e25d7 - Unbreak 64-bit I/O operations (but keep it off by default)
- Disable NLS support as it's broken: rezound dies at startup with infamous
  "locale::facet::_S_create_c_locale name not valid" exception
- Drop explicit ABI version numbers in LIB_DEPENDS
- Mark as MAKE_JOBS_UNSAFE (fails to build on my Q9550)
2012-07-06 07:31:02 +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))