summaryrefslogtreecommitdiff
path: root/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-10-31 21:55:34 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-10-31 21:55:34 +0000
commit446c90c275cd40c0349715dff560dd989b20dce7 (patch)
treea5d1a56331472aa8339bef3f89aa9656cbc65701 /audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
parentPer distfile survey, remove mastersite that disappeared in May 2002. (diff)
- Update to version 0.9.0
PR: 58768 Submitted by: Ports Fury
Diffstat (limited to 'audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h')
-rw-r--r--audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
new file mode 100644
index 000000000000..5389cfe01f78
--- /dev/null
+++ b/audio/cheesetracker/files/patch-common::plugins::resamplers::helpers.h
@@ -0,0 +1,14 @@
+--- common/plugins/resamplers/helpers.h.orig Sun Oct 26 04:16:26 2003
++++ common/plugins/resamplers/helpers.h Thu Oct 30 12:02:04 2003
+@@ -17,6 +17,11 @@
+ #define HELPERS_H
+
+
++#if defined(__FreeBSD__)
++ #define lrint(flt) ((int) (flt))
++ #define lrintf(flt) ((int) (flt))
++#endif
++
+ //hardcoded for now!
+ #define FILTER_BITS 12
+ #define RAMP_BITS 11