aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libprojectm/projectm-isnan.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 17:55:10 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-21 17:55:10 -0600
commitb149c64a8e7c99e726df1d2d0b956b2662a20d03 (patch)
treeb298da291f1a076c9565884ee5c9de4e3bdb5d64 /testing/libprojectm/projectm-isnan.patch
parentd7b2dd4089725fad98a37b893a085f67e0a92a7b (diff)
downloadaports-b149c64a8e7c99e726df1d2d0b956b2662a20d03.tar.bz2
aports-b149c64a8e7c99e726df1d2d0b956b2662a20d03.tar.xz
testing/libprojectm: new aport
Diffstat (limited to 'testing/libprojectm/projectm-isnan.patch')
-rw-r--r--testing/libprojectm/projectm-isnan.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/libprojectm/projectm-isnan.patch b/testing/libprojectm/projectm-isnan.patch
new file mode 100644
index 0000000000..d8738e709c
--- /dev/null
+++ b/testing/libprojectm/projectm-isnan.patch
@@ -0,0 +1,20 @@
+--- projectM-2.0.1-Source/Common.hpp
++++ projectM-2.0.1-Source.mod/Common.hpp
+@@ -30,6 +30,7 @@
+ #include <typeinfo>
+ #include <cstdarg>
+ #include <cassert>
++#include <math.h>
+ #ifdef _MSC_sVER
+ #define strcasecmp(s, t) _strcmpi(s, t)
+ #endif
+@@ -55,7 +56,7 @@
+
+ #ifdef LINUX
+ #include <cstdlib>
+-#define projectM_isnan isnan
++#define projectM_isnan __isnan
+
+ #endif
+
+