diff options
Diffstat (limited to 'games/wesnoth/files/patch-src-gettext.cpp')
-rw-r--r-- | games/wesnoth/files/patch-src-gettext.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/games/wesnoth/files/patch-src-gettext.cpp b/games/wesnoth/files/patch-src-gettext.cpp index 23fa486a23b1..5efa34c5afe9 100644 --- a/games/wesnoth/files/patch-src-gettext.cpp +++ b/games/wesnoth/files/patch-src-gettext.cpp @@ -13,18 +13,3 @@ char const *egettext(char const *msgid) { return msgid[0] == '\0' ? msgid : gettext(msgid); ---- src/gettext.cpp~ -+++ src/gettext.cpp -@@ -18,6 +18,12 @@ - - #include <cstring> - -+#ifndef ENABLE_NLS -+char *textdomain (const char *domainname) { -+ return "dummy"; -+} -+#endif -+ - char const *egettext(char const *msgid) - { - return msgid[0] == '\0' ? msgid : gettext(msgid); |