pkgsrc-ng/games/openttd/patches/patch-src_string.cpp
2013-09-26 17:14:40 +02:00

17 lines
400 B
C++

$NetBSD: patch-src_string.cpp,v 1.1 2012/04/28 06:56:43 adam Exp $
Define Collator when building strgen.
--- src/string.cpp.orig 2012-04-27 16:01:34.000000000 +0000
+++ src/string.cpp
@@ -29,6 +29,9 @@
#include <unicode/ustring.h>
#include "language.h"
#include "gfx_func.h"
+#if defined(STRGEN) || defined(SETTINGSGEN)
+Collator *_current_collator = NULL;
+#endif
#endif /* WITH_ICU */
/**