diff options
author | Justin Patrin <papercrane@gmail.com> | 2005-08-22 20:50:10 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-22 20:50:10 +0000 |
commit | 15327f6dce227ddd18ac4a0da40ffe72e509df0d (patch) | |
tree | 9789f3625211fb78d8ce0f4d079042ecf3be3cf2 /packages/elitaire/files/fix-ewl-and-gettext.patch | |
parent | 2ec8b2daa238174a06c025c2a69cd96dd0fa6bcf (diff) |
Add elitaire, an EFL based card game playing program
Diffstat (limited to 'packages/elitaire/files/fix-ewl-and-gettext.patch')
-rw-r--r-- | packages/elitaire/files/fix-ewl-and-gettext.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/packages/elitaire/files/fix-ewl-and-gettext.patch b/packages/elitaire/files/fix-ewl-and-gettext.patch new file mode 100644 index 0000000000..f84ec06d34 --- /dev/null +++ b/packages/elitaire/files/fix-ewl-and-gettext.patch @@ -0,0 +1,37 @@ +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 +@@ -13,8 +13,12 @@ + + inline char * sgettext(const char *msgid) + { ++#ifdef ENABLE_NLS + char *msgval = gettext (msgid); + if (msgval == msgid) ++#else ++ char *msgval; ++#endif + msgval = strrchr (msgid, '|') + 1; + return msgval; + } |