summaryrefslogtreecommitdiff
path: root/games/openttd/patches/patch-src_string.cpp
blob: dc3d2f3055b619b0cba1c1f9239a18bb932000c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$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 */
 
 /**