]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - xorg-x11-xtrans-devel/patches/xtrans-1.0.3-avoid-gethostname.patch
python: Update to 2.7.5.
[people/ms/ipfire-3.x.git] / xorg-x11-xtrans-devel / patches / xtrans-1.0.3-avoid-gethostname.patch
1 diff -up xtrans-1.0.3/Xtransutil.c.jx xtrans-1.0.3/Xtransutil.c
2 --- xtrans-1.0.3/Xtransutil.c.jx 2006-12-06 11:08:53.000000000 -0500
3 +++ xtrans-1.0.3/Xtransutil.c 2007-10-01 14:53:43.000000000 -0400
4 @@ -271,6 +271,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
5 case AF_UNIX:
6 {
7 struct sockaddr_un *saddr = (struct sockaddr_un *) addr;
8 + strcpy(hostnamebuf, "unix");
9 networkId = (char *) xalloc (3 + strlen (transName) +
10 strlen (hostnamebuf) + strlen (saddr->sun_path));
11 sprintf (networkId, "%s/%s:%s", transName,