--- libgnomevfs/gnome-vfs-handle.c.orig 2005-03-07 20:34:58.000000000 -0500 +++ libgnomevfs/gnome-vfs-handle.c 2005-03-07 20:40:01.000000000 -0500 @@ -129,6 +129,8 @@ _gnome_vfs_handle_do_read (GnomeVFSHandl GnomeVFSFileSize *bytes_read, GnomeVFSContext *context) { +/* workaround to build to build with gcc 4.0 */ +#undef read INVOKE_AND_RETURN (handle, read, (handle->uri->method, handle->method_handle, buffer, num_bytes, bytes_read, context));