summaryrefslogtreecommitdiff
path: root/audio/clunk/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-23 11:26:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-01-23 11:26:26 +0000
commit88fc471dde687296c9e0cc4ff4b9a28b5b2b3c17 (patch)
tree3662ef964e07bb0b305ffd455639edb115c1312e /audio/clunk/files
parent- Update to 0.87.0 (diff)
- Update to 1.3.261
Notes
Notes: svn path=/head/; revision=377723
Diffstat (limited to 'audio/clunk/files')
-rw-r--r--audio/clunk/files/patch-CMakeLists.txt11
-rw-r--r--audio/clunk/files/patch-clunk__mdct_context.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/audio/clunk/files/patch-CMakeLists.txt b/audio/clunk/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..6f69ed5535e9
--- /dev/null
+++ b/audio/clunk/files/patch-CMakeLists.txt
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig 2014-09-29 10:48:48.000000000 +0400
++++ CMakeLists.txt 2015-01-23 14:17:02.000000000 +0300
+@@ -77,7 +77,7 @@
+ clunk/v3.h
+ clunk/clunk_c.h
+ clunk/window_function.h
+- ${CMAKE_CURRENT_BINARY_DIR}/config.h
++ ${CMAKE_CURRENT_BINARY_DIR}/clunk/config.h
+ )
+
+ if (SDL_FOUND)
diff --git a/audio/clunk/files/patch-clunk__mdct_context.h b/audio/clunk/files/patch-clunk__mdct_context.h
new file mode 100644
index 000000000000..a66c079fdded
--- /dev/null
+++ b/audio/clunk/files/patch-clunk__mdct_context.h
@@ -0,0 +1,11 @@
+--- clunk/mdct_context.h.orig 2014-09-29 10:48:48.000000000 +0400
++++ clunk/mdct_context.h 2015-01-23 14:14:23.000000000 +0300
+@@ -61,7 +61,7 @@
+
+ T data[N];
+
+- mdct_context() : sqrt_N((T)sqrt((T)N)), data() {
++ mdct_context() : window_func(), sqrt_N((T)sqrt((T)N)), data() {
+ for(unsigned t = 0; t < N4; ++t) {
+ angle_cache[t] = std::polar<T>(1, 2 * T(M_PI) * (t + T(0.125)) / N);
+ }