summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch')
-rw-r--r--sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch b/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch
new file mode 100644
index 000000000000..7cbc25032192
--- /dev/null
+++ b/sci-mathematics/gturing/files/gturing-0.1.1-gettext.patch
@@ -0,0 +1,16 @@
+--- src/gturing.h~ 2005-08-22 21:37:00.000000000 -0400
++++ src/gturing.h 2005-08-22 21:39:34.000000000 -0400
+@@ -23,6 +23,13 @@
+ static GnomeUIInfo helper_toolbar[];
+ static GnomeUIInfo helper_action_menu[];
+
++/* Missing locale/gettext definitions */
++
++#include <locale.h>
++#include <libintl.h>
++#define _(String) gettext(String)
++#define N_(String) (String)
++
+ /* Internal functions and callbacks */
+
+ turing *tm;