diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-07-26 16:51:15 +0000 |
commit | 9fa9eb9ac7bf1d3de825ee25a8f0ae81b7b77896 (patch) | |
tree | 9b071a8105704e992946dcd6b801e9fcb7635142 /audio/patchage/files/patch-src_Patchage.cpp | |
parent | MooseFS is a Fault tolerant, High Available, Highly Performing, Scale-Out, (diff) |
Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.
With hat: portmgr
Sponsored by: Absolight
Notes
Notes:
svn path=/head/; revision=419133
Diffstat (limited to 'audio/patchage/files/patch-src_Patchage.cpp')
-rw-r--r-- | audio/patchage/files/patch-src_Patchage.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
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 <fstream> + #include <sstream> + ++#include <sys/param.h> ++#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 <gtk/gtkwindow.h> + #include <libglademm/xml.h> + #include <libgnomecanvasmm.h> |