aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-10-16 15:28:25 +0800
committersobomax <sobomax@FreeBSD.org>2001-10-16 15:28:25 +0800
commit5f06790053fe00822a9137294fbd597cd2bc1358 (patch)
tree209793a698a01f32253741aed06a4caf5cef4bad /x11/gdm
parentf40c1efe3c33faf243eab09f6902d639fbffe124 (diff)
downloadfreebsd-ports-gnome-5f06790053fe00822a9137294fbd597cd2bc1358.tar.gz
freebsd-ports-gnome-5f06790053fe00822a9137294fbd597cd2bc1358.tar.zst
freebsd-ports-gnome-5f06790053fe00822a9137294fbd597cd2bc1358.zip
Apply some black cvs magick to readd patch-ar properly.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/files/patch-ar19
1 files changed, 19 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-ar b/x11/gdm/files/patch-ar
new file mode 100644
index 000000000000..b0b8c0315d67
--- /dev/null
+++ b/x11/gdm/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);