freebsd-ports/math/freemat/files/patch-libs_libGraphics_HandleAxis.cpp
2007-02-11 17:07:13 +00:00

13 lines
331 B
C++

--- ./libs/libGraphics/HandleAxis.cpp.orig Thu Dec 28 15:02:22 2006
+++ ./libs/libGraphics/HandleAxis.cpp Sat Feb 10 00:07:46 2007
@@ -28,6 +28,10 @@
#include "HandleCommands.hpp"
#include <qgl.h>
+#ifdef __FreeBSD__
+#define log2(x) log(x)/log(2)
+#endif
+
// Property list & status
// activepositionproperty
// alim