aboutsummaryrefslogtreecommitdiffstats
path: root/devel/seed/files/patch-modules_gettext_seed-gettext.c
blob: 71aa3b2242f1d5c0a7dd281561cafae0ee14f5fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- modules/gettext/seed-gettext.c.orig 2009-12-31 05:42:51.000000000 -0500
+++ modules/gettext/seed-gettext.c  2010-01-07 19:07:10.000000000 -0500
@@ -312,12 +313,24 @@ seed_module_init(SeedEngine *local_eng)
    DEFINE_ENUM_MEMBER(ns_ref, LC_MONETARY);
    DEFINE_ENUM_MEMBER(ns_ref, LC_MESSAGES);
    DEFINE_ENUM_MEMBER(ns_ref, LC_ALL);
+#ifdef LC_PAPER
    DEFINE_ENUM_MEMBER(ns_ref, LC_PAPER);
+#endif
+#ifdef LC_NAME
    DEFINE_ENUM_MEMBER(ns_ref, LC_NAME);
+#endif
+#ifdef LC_ADDRESS
    DEFINE_ENUM_MEMBER(ns_ref, LC_ADDRESS);
+#endif
+#ifdef LC_TELEPHONE
    DEFINE_ENUM_MEMBER(ns_ref, LC_TELEPHONE);
+#endif
+#ifdef LC_MEASUREMENT
    DEFINE_ENUM_MEMBER(ns_ref, LC_MEASUREMENT);
+#endif
+#ifdef LC_IDENTIFICATION
    DEFINE_ENUM_MEMBER(ns_ref, LC_IDENTIFICATION);
+#endif
    DEFINE_ENUM_MEMBER(ns_ref, LC_CTYPE);
 
    return ns_ref;