Blame SOURCES/xtrans-1.0.3-avoid-gethostname.patch

fe38d3
diff -up xtrans-1.2.7/Xtransutil.c.jx xtrans-1.2.7/Xtransutil.c
fe38d3
--- xtrans-1.2.7/Xtransutil.c.jx	2012-03-22 23:04:35.000000000 -0400
fe38d3
+++ xtrans-1.2.7/Xtransutil.c	2012-04-09 16:39:29.000000000 -0400
fe38d3
@@ -255,6 +255,7 @@ TRANS(GetMyNetworkId) (XtransConnInfo ci
fe38d3
     case AF_UNIX:
fe38d3
     {
fe38d3
 	struct sockaddr_un *saddr = (struct sockaddr_un *) addr;
fe38d3
+	strcpy(hostnamebuf, "unix");
fe38d3
 	networkId = malloc (3 + strlen (transName) +
fe38d3
 	    strlen (hostnamebuf) + strlen (saddr->sun_path));
fe38d3
 	sprintf (networkId, "%s/%s:%s", transName,