diff -Naur gimp-2.8.2/app/config/gimpconfig-file.c gimp-2.8.2-x64/app/config/gimpconfig-file.c --- gimp-2.8.2/app/config/gimpconfig-file.c 2012-03-12 20:18:06.000000000 +0100 +++ gimp-2.8.2-x64/app/config/gimpconfig-file.c 2012-08-23 22:59:12.332542000 +0200 @@ -48,7 +48,7 @@ gchar buffer[8192]; FILE *sfile; FILE *dfile; - struct stat stat_buf; + struct _stat64i32 stat_buf; gint nbytes; sfile = g_fopen (source, "rb"); diff -Naur gimp-2.8.2/app/core/gimpdata.c gimp-2.8.2-x64/app/core/gimpdata.c --- gimp-2.8.2/app/core/gimpdata.c 2012-05-08 08:05:45.000000000 +0200 +++ gimp-2.8.2-x64/app/core/gimpdata.c 2012-08-23 22:59:30.934655000 +0200 @@ -520,7 +520,7 @@ if (success) { - struct stat filestat; + struct _stat64i32 filestat; g_stat (private->filename, &filestat); diff -Naur gimp-2.8.2/app/widgets/gimpimagepropview.c gimp-2.8.2-x64/app/widgets/gimpimagepropview.c --- gimp-2.8.2/app/widgets/gimpimagepropview.c 2012-05-08 08:05:46.000000000 +0200 +++ gimp-2.8.2-x64/app/widgets/gimpimagepropview.c 2012-08-23 22:59:53.058199000 +0200 @@ -338,7 +338,7 @@ if (filename) { - struct stat buf; + struct _stat64i32 buf; if (g_stat (filename, &buf) == 0) { diff -Naur gimp-2.8.2/libgimpbase/gimpdatafiles.c gimp-2.8.2-x64/libgimpbase/gimpdatafiles.c --- gimp-2.8.2/libgimpbase/gimpdatafiles.c 2012-03-12 20:18:09.000000000 +0100 +++ gimp-2.8.2-x64/libgimpbase/gimpdatafiles.c 2012-08-23 23:00:04.732625000 +0200 @@ -106,7 +106,7 @@ while ((dir_ent = g_dir_read_name (dir))) { - struct stat filestat; + struct _stat64i32 filestat; gchar *filename; if (is_hidden (dir_ent)) diff -Naur gimp-2.8.2/libgimpbase/gimpenv.c gimp-2.8.2-x64/libgimpbase/gimpenv.c --- gimp-2.8.2/libgimpbase/gimpenv.c 2012-05-23 11:51:39.000000000 +0200 +++ gimp-2.8.2-x64/libgimpbase/gimpenv.c 2012-08-23 23:00:14.702214000 +0200 @@ -848,7 +848,7 @@ GList *list; uid_t euid; gid_t egid; - struct stat filestat; + struct _stat64i32 filestat; gint err; g_return_val_if_fail (path != NULL, NULL); diff -Naur gimp-2.8.2/libgimpthumb/gimpthumb-utils.c gimp-2.8.2-x64/libgimpthumb/gimpthumb-utils.c --- gimp-2.8.2/libgimpthumb/gimpthumb-utils.c 2012-05-12 14:44:08.000000000 +0200 +++ gimp-2.8.2-x64/libgimpthumb/gimpthumb-utils.c 2012-08-23 23:00:21.970372000 +0200 @@ -515,7 +515,7 @@ gint64 *size, gint *err_no) { - struct stat s; + struct _stat64i32 s; g_return_val_if_fail (filename != NULL, FALSE); diff -Naur gimp-2.8.2/plug-ins/common/file-psp.c gimp-2.8.2-x64/plug-ins/common/file-psp.c --- gimp-2.8.2/plug-ins/common/file-psp.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/common/file-psp.c 2012-08-23 23:00:38.029274000 +0200 @@ -1697,7 +1697,7 @@ GError **error) { FILE *f; - struct stat st; + struct _stat64i32 st; char buf[32]; PSPimage ia; guint32 block_init_len, block_total_len; diff -Naur gimp-2.8.2/plug-ins/common/file-raw.c gimp-2.8.2-x64/plug-ins/common/file-raw.c --- gimp-2.8.2/plug-ins/common/file-raw.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/common/file-raw.c 2012-08-23 23:00:44.132929000 +0200 @@ -346,7 +346,7 @@ static gint32 get_file_info (const gchar *filename) { - struct stat status; + struct _stat64i32 status; g_stat (filename, &status); diff -Naur gimp-2.8.2/plug-ins/common/mail.c gimp-2.8.2-x64/plug-ins/common/mail.c --- gimp-2.8.2/plug-ins/common/mail.c 2012-05-08 08:05:46.000000000 +0200 +++ gimp-2.8.2-x64/plug-ins/common/mail.c 2012-08-23 23:00:49.451664000 +0200 @@ -522,7 +522,7 @@ static gboolean valid_file (const gchar *filename) { - struct stat buf; + struct _stat64i32 buf; return g_stat (filename, &buf) == 0 && buf.st_size > 0; } diff -Naur gimp-2.8.2/plug-ins/file-compressor/file-compressor.c gimp-2.8.2-x64/plug-ins/file-compressor/file-compressor.c --- gimp-2.8.2/plug-ins/file-compressor/file-compressor.c 2012-06-06 10:21:06.000000000 +0200 +++ gimp-2.8.2-x64/plug-ins/file-compressor/file-compressor.c 2012-08-23 23:01:07.498905000 +0200 @@ -487,7 +487,7 @@ static gboolean valid_file (const gchar *filename) { - struct stat buf; + struct _stat64i32 buf; return g_stat (filename, &buf) == 0 && buf.st_size > 0; } diff -Naur gimp-2.8.2/plug-ins/file-jpeg/jpeg-save.c gimp-2.8.2-x64/plug-ins/file-jpeg/jpeg-save.c --- gimp-2.8.2/plug-ins/file-jpeg/jpeg-save.c 2012-05-18 18:58:51.000000000 +0200 +++ gimp-2.8.2-x64/plug-ins/file-jpeg/jpeg-save.c 2012-08-23 23:01:22.429181000 +0200 @@ -196,7 +196,7 @@ /* display the preview stuff */ if (!pp->abort_me) { - struct stat buf; + struct _stat64i32 buf; gchar *text; gchar *size_text; diff -Naur gimp-2.8.2/plug-ins/file-psd/psd-load.c gimp-2.8.2-x64/plug-ins/file-psd/psd-load.c --- gimp-2.8.2/plug-ins/file-psd/psd-load.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/file-psd/psd-load.c 2012-08-23 23:01:30.605387000 +0200 @@ -112,7 +112,7 @@ GError **load_error) { FILE *f; - struct stat st; + struct _stat64i32 st; PSDimage img_a; PSDlayer **lyr_a; gint32 image_id = -1; diff -Naur gimp-2.8.2/plug-ins/file-psd/psd-thumb-load.c gimp-2.8.2-x64/plug-ins/file-psd/psd-thumb-load.c --- gimp-2.8.2/plug-ins/file-psd/psd-thumb-load.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/file-psd/psd-thumb-load.c 2012-08-23 23:01:37.589170000 +0200 @@ -62,7 +62,7 @@ GError **load_error) { FILE *f; - struct stat st; + struct _stat64i32 st; PSDimage img_a; gint32 image_id = -1; GError *error = NULL; diff -Naur gimp-2.8.2/plug-ins/file-uri/uri.c gimp-2.8.2-x64/plug-ins/file-uri/uri.c --- gimp-2.8.2/plug-ins/file-uri/uri.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/file-uri/uri.c 2012-08-23 23:01:46.626252000 +0200 @@ -356,7 +356,7 @@ static gboolean valid_file (const gchar *filename) { - struct stat buf; + struct _stat64i32 buf; return g_stat (filename, &buf) == 0 && buf.st_size > 0; } diff -Naur gimp-2.8.2/plug-ins/file-xjt/xjt.c gimp-2.8.2-x64/plug-ins/file-xjt/xjt.c --- gimp-2.8.2/plug-ins/file-xjt/xjt.c 2012-03-12 20:18:10.000000000 +0100 +++ gimp-2.8.2-x64/plug-ins/file-xjt/xjt.c 2012-08-23 23:02:01.702340000 +0200 @@ -2517,7 +2517,7 @@ { gchar *l_parasite_file; GimpParasite l_parasite; - struct stat l_stat_buf; + struct _stat64i32 l_stat_buf; FILE *l_fp_pte; /* create filename dirname/p1.pte 1 == parasite_id */ @@ -3121,7 +3121,7 @@ gint32 *len) { FILE *l_fp; - struct stat stat_buf; + struct _stat64i32 stat_buf; gchar *l_file_buff; gint32 l_idx;