From 15327f6dce227ddd18ac4a0da40ffe72e509df0d Mon Sep 17 00:00:00 2001 From: Justin Patrin Date: Mon, 22 Aug 2005 20:50:10 +0000 Subject: Add elitaire, an EFL based card game playing program --- packages/elitaire/files/.mtn2git_empty | 0 packages/elitaire/files/fix-ewl-and-gettext.patch | 37 +++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 packages/elitaire/files/.mtn2git_empty create mode 100644 packages/elitaire/files/fix-ewl-and-gettext.patch (limited to 'packages/elitaire/files') diff --git a/packages/elitaire/files/.mtn2git_empty b/packages/elitaire/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 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 + #include + #include +-#include ++#include + #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 ++#include + #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; + } -- cgit v1.2.3