summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c6
-rw-r--r--devel/gnomevfs2/files/patch-libgnomevfs_gnome-vfs-resolve.c6
2 files changed, 6 insertions, 6 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
index ad45385ad..2a5088a69 100644
--- a/devel/gnome-vfs/files/patch-libgnomevfs_gnome-vfs-resolve.c
+++ b/devel/gnome-vfs/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
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