aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-vfs/fix-resolv-no-address.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 14:09:16 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 14:22:24 +0000
commit672b5f205c4118b1e0b68bc6e90e7b1cb84157b7 (patch)
tree9285bd883cba4db4f2a7c824f1b78200a2c57862 /main/gnome-vfs/fix-resolv-no-address.patch
parenta1a836b089573752c1b0da7d144c0948b04e8ea8 (diff)
downloadaports-672b5f205c4118b1e0b68bc6e90e7b1cb84157b7.tar.bz2
aports-672b5f205c4118b1e0b68bc6e90e7b1cb84157b7.tar.xz
main/gnome-vfs: fix musl build (use NO_DATA, not NO_ADDRESS)
Diffstat (limited to 'main/gnome-vfs/fix-resolv-no-address.patch')
-rw-r--r--main/gnome-vfs/fix-resolv-no-address.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/main/gnome-vfs/fix-resolv-no-address.patch b/main/gnome-vfs/fix-resolv-no-address.patch
new file mode 100644
index 0000000000..17fec7e32e
--- /dev/null
+++ b/main/gnome-vfs/fix-resolv-no-address.patch
@@ -0,0 +1,11 @@
+--- gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-result.c.orig
++++ gnome-vfs-2.24.4/libgnomevfs/gnome-vfs-result.c
+@@ -199,7 +199,7 @@
+ {
+ switch (h_errno_code) {
+ case HOST_NOT_FOUND: return GNOME_VFS_ERROR_HOST_NOT_FOUND;
+- case NO_ADDRESS: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
++ case NO_DATA: return GNOME_VFS_ERROR_HOST_HAS_NO_ADDRESS;
+ case TRY_AGAIN: return GNOME_VFS_ERROR_NAMESERVER;
+ case NO_RECOVERY: return GNOME_VFS_ERROR_NAMESERVER;
+ default: