summaryrefslogtreecommitdiffstats
path: root/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c')
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
new file mode 100644
index 000000000..6e3660c84
--- /dev/null
+++ b/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
@@ -0,0 +1,15 @@
+--- libgnomevfs/gnome-vfs-resolve.c.orig Tue Apr 19 07:54:52 2005
++++ libgnomevfs/gnome-vfs-resolve.c Sun May 22 23:25:22 2005
+@@ -171,10 +171,12 @@ _gnome_vfs_result_from_gai_error (int er
+ switch (error) {
+
+ case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
++#ifdef EAI_NODATA
+ #ifdef EAI_ADDRFAMILY
+ case EAI_ADDRFAMILY:
+ #endif
+ case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
++#endif
+ #ifdef EAI_SYSTEM
+ case EAI_SYSTEM: return gnome_vfs_result_from_errno ();
+ #endif