aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/telepathy-salut
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2008-03-26 10:58:52 +0800
committermarcus <marcus@FreeBSD.org>2008-03-26 10:58:52 +0800
commit2c22e82a2b3d6f76e4be7b40d0aba4fa8428dcd1 (patch)
tree4ca5ea52d1f75fdc45c9c0fe4143ebec852a4b14 /net-im/telepathy-salut
parentcc92e4fa60c4d1cd9ab90ce44171539261c16762 (diff)
downloadfreebsd-ports-gnome-2c22e82a2b3d6f76e4be7b40d0aba4fa8428dcd1.tar.gz
freebsd-ports-gnome-2c22e82a2b3d6f76e4be7b40d0aba4fa8428dcd1.tar.zst
freebsd-ports-gnome-2c22e82a2b3d6f76e4be7b40d0aba4fa8428dcd1.zip
Fix build on 6.X.
Reported by: pointyhat via pav
Diffstat (limited to 'net-im/telepathy-salut')
-rw-r--r--net-im/telepathy-salut/files/patch-lib_gibber_gibber-resolver.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/net-im/telepathy-salut/files/patch-lib_gibber_gibber-resolver.c b/net-im/telepathy-salut/files/patch-lib_gibber_gibber-resolver.c
index 76c9aff087c2..7ceb72ad76ec 100644
--- a/net-im/telepathy-salut/files/patch-lib_gibber_gibber-resolver.c
+++ b/net-im/telepathy-salut/files/patch-lib_gibber_gibber-resolver.c
@@ -1,5 +1,5 @@
---- lib/gibber/gibber-resolver.c.orig 2008-03-19 22:59:19.000000000 -0400
-+++ lib/gibber/gibber-resolver.c 2008-03-19 23:00:18.000000000 -0400
+--- lib/gibber/gibber-resolver.c.orig 2008-01-30 08:52:52.000000000 -0500
++++ lib/gibber/gibber-resolver.c 2008-03-25 22:58:24.000000000 -0400
@@ -720,7 +720,9 @@ gibber_resolver_gai_error_to_g_error (in
switch (error) {
@@ -10,7 +10,7 @@
case EAI_SOCKTYPE:
case EAI_FAMILY:
case EAI_SERVICE:
-@@ -731,7 +733,9 @@ gibber_resolver_gai_error_to_g_error (in
+@@ -731,13 +733,17 @@ gibber_resolver_gai_error_to_g_error (in
code = GIBBER_RESOLVER_ERROR_RESOLVE_TEMPORARY_FAILURE;
break;
case EAI_FAIL:
@@ -20,3 +20,11 @@
case EAI_NONAME:
code = GIBBER_RESOLVER_ERROR_RESOLVE_FAILURE;
break;
+
+ case EAI_MEMORY:
++#ifdef EAI_OVERFLOW
+ case EAI_OVERFLOW:
++#endif
+ code = GIBBER_RESOLVER_ERROR_MEMORY;
+ break;
+