diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-10-16 15:28:25 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-10-16 15:28:25 +0800 |
commit | 5f06790053fe00822a9137294fbd597cd2bc1358 (patch) | |
tree | 209793a698a01f32253741aed06a4caf5cef4bad /x11/gdm2 | |
parent | f40c1efe3c33faf243eab09f6902d639fbffe124 (diff) | |
download | freebsd-ports-graphics-5f06790053fe00822a9137294fbd597cd2bc1358.tar.gz freebsd-ports-graphics-5f06790053fe00822a9137294fbd597cd2bc1358.tar.zst freebsd-ports-graphics-5f06790053fe00822a9137294fbd597cd2bc1358.zip |
Apply some black cvs magick to readd patch-ar properly.
Diffstat (limited to 'x11/gdm2')
-rw-r--r-- | x11/gdm2/files/patch-ar | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/gdm2/files/patch-ar b/x11/gdm2/files/patch-ar new file mode 100644 index 00000000000..b0b8c0315d6 --- /dev/null +++ b/x11/gdm2/files/patch-ar @@ -0,0 +1,19 @@ + +$FreeBSD$ + +--- daemon/gdm-net.c.orig Sun Aug 26 04:56:37 2001 ++++ daemon/gdm-net.c Tue Oct 16 09:35:36 2001 +@@ -238,11 +243,11 @@ + return NULL; + } + ++ bzero(&addr, sizeof(addr)); + strcpy (addr.sun_path, sockname); + addr.sun_family = AF_UNIX; + if (bind (fd, +- (struct sockaddr *) &addr, strlen (addr.sun_path) + +- sizeof (addr.sun_family)) < 0) { ++ (struct sockaddr *) &addr, sizeof(addr)) < 0) { + gdm_error (_("%s: Could not bind socket"), + "gdm_connection_open_unix"); + close (fd); |