diff options
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); |