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/lmms/files/patch-plugins_sf2__player_sf2__player.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
Diffstat (limited to 'audio/lmms/files/patch-plugins_sf2__player_sf2__player.cpp')
-rw-r--r-- | audio/lmms/files/patch-plugins_sf2__player_sf2__player.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/lmms/files/patch-plugins_sf2__player_sf2__player.cpp b/audio/lmms/files/patch-plugins_sf2__player_sf2__player.cpp new file mode 100644 index 000000000000..757cb2ddfeed --- /dev/null +++ b/audio/lmms/files/patch-plugins_sf2__player_sf2__player.cpp @@ -0,0 +1,13 @@ +--- plugins/sf2_player/sf2_player.cpp.orig 2015-03-08 02:47:14 UTC ++++ plugins/sf2_player/sf2_player.cpp +@@ -23,6 +23,10 @@ + * + */ + ++#include <math.h> ++#if __FreeBSD_version <= 704100 || (__FreeBSD_version >= 800000 && __FreeBSD_version < 802502) || (__FreeBSD_version >= 900000 && __FreeBSD_version < 900027) ++ #define log2(x) ( log (x) * (1./M_LN2) ) ++#endif + #include <QtCore/QDebug> + #include <QtGui/QLayout> + #include <QtGui/QLabel> |