[Thunar-dev] Build error and patch
Benedikt Meurer
benedikt.meurer at unix-ag.uni-siegen.de
Mon Jan 2 13:34:30 CET 2006
Olivier Fourdan wrote:
> 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>
Fixed. Thanks.
> Cheers,
> Olivier.
Benedikt
More information about the Thunar-dev
mailing list