fix build issues of package glib

This commit is contained in:
Volker Grabsch 2010-04-28 00:24:06 +02:00
parent 9d4ad484da
commit 931d9f7b3b
2 changed files with 26 additions and 1 deletions

View File

@ -0,0 +1,25 @@
This file is part of mingw-cross-env.
See doc/index.html for further information.
diff -r f084585629df gio/gsettings.c
--- a/gio/gsettings.c Tue Apr 27 23:13:34 2010 +0200
+++ b/gio/gsettings.c Tue Apr 27 23:17:47 2010 +0200
@@ -782,16 +782,13 @@
const gchar *translated;
GError *error = NULL;
const gchar *domain;
- gint lc_category;
domain = g_settings_schema_get_gettext_domain (settings->priv->schema);
if (lc_char == 't')
- lc_category = LC_TIME;
+ translated = dcgettext (domain, unparsed, LC_TIME);
else
- lc_category = LC_MESSAGES;
-
- translated = dcgettext (domain, unparsed, lc_category);
+ translated = dgettext (domain, unparsed);
if (translated != unparsed)
/* it was translated, so we need to re-parse it */

View File

@ -69,6 +69,6 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)/gmodule' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/gthread' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/gobject' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/gio' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)/gio' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= MISC_STUFF=
$(MAKE) -C '$(1)' -j '$(JOBS)' install-pkgconfigDATA install-configexecincludeDATA
endef