diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-03-14 01:30:30 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-03-14 01:30:30 +0800 |
commit | c4d86504397afcc47b5b034bd346381482c44c9f (patch) | |
tree | f20ed26d482e43ca2531c59b7048da0eab5e7809 /chinese/gcin/files | |
parent | e5f8c4d36b70e9fb0fa3d39f5d7d7b236a3459d6 (diff) | |
download | freebsd-ports-gnome-c4d86504397afcc47b5b034bd346381482c44c9f.tar.gz freebsd-ports-gnome-c4d86504397afcc47b5b034bd346381482c44c9f.tar.zst freebsd-ports-gnome-c4d86504397afcc47b5b034bd346381482c44c9f.zip |
Upgrade to 0.8.8.
Approved by: maintainer
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r-- | chinese/gcin/files/patch-im-srv.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/chinese/gcin/files/patch-im-srv.c b/chinese/gcin/files/patch-im-srv.c index f30f10b28bfa..b3b1ad197fa2 100644 --- a/chinese/gcin/files/patch-im-srv.c +++ b/chinese/gcin/files/patch-im-srv.c @@ -1,11 +1,14 @@ --- im-srv/im-srv.c.orig Mon Feb 14 10:18:04 2005 -+++ im-srv/im-srv.c Wed Mar 2 02:49:58 2005 -@@ -121,7 +121,7 @@ ++++ im-srv/im-srv.c Fri Mar 11 01:43:51 2005 +@@ -121,7 +121,11 @@ char sock_path[128]; get_gcin_im_srv_sock_path(sock_path, sizeof(sock_path)); strcpy(serv_addr.sun_path, sock_path); -- servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family); -+ servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family) + 1; ++#ifdef SUN_LEN ++ servlen = SUN_LEN (&serv_addr); ++#else + servlen = strlen(serv_addr.sun_path) + sizeof(serv_addr.sun_family); ++#endif dbg("-- %s\n",serv_addr.sun_path); struct stat st; |