aboutsummaryrefslogtreecommitdiffstats
path: root/packages/elitaire/files/math.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/elitaire/files/math.patch')
-rw-r--r--packages/elitaire/files/math.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/elitaire/files/math.patch b/packages/elitaire/files/math.patch
new file mode 100644
index 0000000000..550507f370
--- /dev/null
+++ b/packages/elitaire/files/math.patch
@@ -0,0 +1,14 @@
+--- elitaire-0.0.4/src/Elitaire.h~ 2005-08-15 06:32:32.000000000 -0700
++++ elitaire-0.0.4/src/Elitaire.h 2005-09-29 19:19:25.000000000 -0700
+@@ -3,6 +3,11 @@
+ #include<Evas.h>
+ #include<Edje.h>
+ #include"intl.h"
++#include<tgmath.h>
++
++#ifndef ABS
++#define ABS(x) ((x) >= 0 ? (x) : -(x))
++#endif
+
+ struct Elitaire{
+