summaryrefslogtreecommitdiffstats
path: root/devel/gnomevfs2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 04:40:32 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-07-23 04:40:32 +0800
commit627cf1f06f2456ac0cd561f4cd0edbc136df2d30 (patch)
tree92b7ae37a28e8f63082e3a09ea344c05ae69160c /devel/gnomevfs2
parent3c8a99236cf84754480b6a4f989b5987652b6af4 (diff)
downloadmarcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar.gz
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar.bz2
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar.lz
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar.xz
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.tar.zst
marcuscom-ports-627cf1f06f2456ac0cd561f4cd0edbc136df2d30.zip
Use a better fix for missing EAI_ADDRFAMILY and EAI_NODATA since 4.X does
support these errors. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2538 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gnomevfs2')
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c
index ad45385ad..2a5088a69 100644
--- a/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c
+++ b/devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c
@@ -1,10 +1,10 @@
---- libgnomevfs/gnome-vfs-resolve.c.orig Thu Jul 22 11:23:42 2004
-+++ libgnomevfs/gnome-vfs-resolve.c Thu Jul 22 11:25:46 2004
+--- libgnomevfs/gnome-vfs-resolve.c.orig Tue Jul 20 14:39:26 2004
++++ libgnomevfs/gnome-vfs-resolve.c Thu Jul 22 16:38:35 2004
@@ -133,8 +133,10 @@
switch (error) {
case EAI_NONAME: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
-+#ifndef __FreeBSD__
++#if defined(EAI_ADDRFAMILY) && defined(EAI_NODATA)
case EAI_ADDRFAMILY:
case EAI_NODATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
+#endif