freebsd-ports/games/wesnoth/files/patch-src-gettext.cpp
Philip Paeps 8091c73661 Fix duplicate patch for gettext.
Submitted by:	Anonymous <swell.k@gmail.com>
Pointy hat to:	philip
2010-08-26 13:25:02 +00:00

15 lines
277 B
C++

--- 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);