After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 704587 - FTBFS: statfs_result is undeclared for statvfs()
FTBFS: statfs_result is undeclared for statvfs()
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: gio
2.36.x
Other Solaris
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2013-07-19 20:45 UTC by Igor Pashev
Modified: 2013-07-28 21:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Igor Pashev 2013-07-19 20:45:58 UTC
I think it is quite obvious:

Index: glib2.0-2.36.3/gio/glocalfile.c
===================================================================
--- glib2.0-2.36.3.orig/gio/glocalfile.c	2013-06-10 02:16:31.000000000 +0400
+++ glib2.0-2.36.3/gio/glocalfile.c	2013-07-19 23:31:25.819168778 +0400
@@ -2440,6 +2440,7 @@
 
 #elif defined(USE_STATVFS)
   struct statvfs statfs_buffer;
+  int statfs_result = 0;
 
   statfs_result = statvfs (filename, &statfs_buffer);
 #else