You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
d9de6350ce
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@128092 d073be05-634f-4543-b044-5fe20cf6d1d6
14 lines
571 B
Diff
14 lines
571 B
Diff
--- /tmp/old.whatever 2013-02-11 19:31:33.000000000 +0100
|
|
+++ Protocol/Connection/UNIXSocket.pm 2013-02-11 19:31:48.000000000 +0100
|
|
@@ -21,8 +21,8 @@
|
|
my($pkg) = shift;
|
|
my($host, $dispnum) = @_;
|
|
my($sock) = IO::Socket::UNIX->new('Type' => SOCK_STREAM(),
|
|
- 'Peer' => "/tmp/.X11-unix/X$dispnum");
|
|
- croak "Can't connect to display `unix:$dispnum': $!" unless $sock;
|
|
+ 'Peer' => "/$host:$dispnum");
|
|
+ croak "Can't connect to display `unix:/$host:$dispnum': $!" unless $sock;
|
|
$sock->autoflush(0);
|
|
return bless \$sock, $pkg;
|
|
}
|