summaryrefslogtreecommitdiff
path: root/packages/elitaire/files
diff options
context:
space:
mode:
Diffstat (limited to 'packages/elitaire/files')
-rw-r--r--packages/elitaire/files/fix-ewl-and-gettext.patch21
-rw-r--r--packages/elitaire/files/math.patch14
2 files changed, 14 insertions, 21 deletions
diff --git a/packages/elitaire/files/fix-ewl-and-gettext.patch b/packages/elitaire/files/fix-ewl-and-gettext.patch
index f84ec06d34..f572124f94 100644
--- a/packages/elitaire/files/fix-ewl-and-gettext.patch
+++ b/packages/elitaire/files/fix-ewl-and-gettext.patch
@@ -1,24 +1,3 @@
-diff -Nur elitaire-0.0.4~/src/Eli_App.h elitaire-0.0.4/src/Eli_App.h
---- elitaire-0.0.4~/src/Eli_App.h 2005-08-18 19:02:30.000000000 -0700
-+++ elitaire-0.0.4/src/Eli_App.h 2005-08-18 19:02:40.000000000 -0700
-@@ -3,7 +3,7 @@
- #include<Ecore_Config.h>
- #include<Ecore_File.h>
- #include<Esmart/Esmart_Container.h>
--#include<ewl/Ewl.h>
-+#include<Ewl.h>
- #include"ewl_context_menu.h"
- #include"Elitaire.h"
-
-diff -Nur elitaire-0.0.4~/src/ewl_context_menu.c elitaire-0.0.4/src/ewl_context_menu.c
---- elitaire-0.0.4~/src/ewl_context_menu.c 2005-08-18 19:02:30.000000000 -0700
-+++ elitaire-0.0.4/src/ewl_context_menu.c 2005-08-18 19:02:40.000000000 -0700
-@@ -1,4 +1,4 @@
--#include<ewl/Ewl.h>
-+#include<Ewl.h>
- #include"ewl_context_menu.h"
-
- void ewl_context_menu_expand_cb(Ewl_Widget *w, void *ev_data ,
diff -Nur elitaire-0.0.4~/src/intl.h elitaire-0.0.4/src/intl.h
--- elitaire-0.0.4~/src/intl.h 2005-08-18 19:02:30.000000000 -0700
+++ elitaire-0.0.4/src/intl.h 2005-08-18 19:06:05.000000000 -0700
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{
+