From 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Tue, 26 Jul 2016 16:51:15 +0000 Subject: Cleanup patches, a* categories. Rename them to follow the make makepatch naming, and regenerate them. With hat: portmgr Sponsored by: Absolight --- audio/patchage/files/patch-src_Patchage.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 audio/patchage/files/patch-src_Patchage.cpp (limited to 'audio/patchage/files/patch-src_Patchage.cpp') diff --git a/audio/patchage/files/patch-src_Patchage.cpp b/audio/patchage/files/patch-src_Patchage.cpp new file mode 100644 index 000000000000..cb3c45f07261 --- /dev/null +++ b/audio/patchage/files/patch-src_Patchage.cpp @@ -0,0 +1,14 @@ +--- src/Patchage.cpp.orig 2011-01-09 22:53:06 UTC ++++ src/Patchage.cpp +@@ -21,6 +21,11 @@ + #include + #include + ++#include ++#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) ++#define log2f(x) (logf(x) / logf(2)) ++#endif ++ + #include + #include + #include -- cgit v1.2.3