[Thunar-dev] Build error and patch
Olivier Fourdan
fourdan at xfce.org
Sat Dec 24 17:30:02 CET 2005
Hi
Thunar from revision #19136 doesn't build here:
thunar-uca-model.c: In function `thunar_uca_model_load_from_file':
thunar-uca-model.c:560: error: `LC_MESSAGES' undeclared (first use in
this function)
thunar-uca-model.c:560: error: (Each undeclared identifier is reported
only once
thunar-uca-model.c:560: error: for each function it appears in.)
thunar-uca-model.c:560: warning: assignment makes pointer from integer
without a cast
make[2]: *** [thunar_uca_la-thunar-uca-model.lo] Error 1
The following (trivial) patch fixes the issue:
Index: thunar-uca/thunar-uca-model.c
===================================================================
--- thunar-uca/thunar-uca-model.c (revision 19136)
+++ thunar-uca/thunar-uca-model.c (working copy)
@@ -35,6 +35,7 @@
#include <unistd.h>
#endif
+#include <locale.h>
#include <glib/gi18n-lib.h>
#include <glib/gstdio.h>
Cheers,
Olivier.
More information about the Thunar-dev
mailing list