diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-16 07:25:04 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2001-10-16 07:25:04 +0000 |
commit | 68257a672e5b65e289b4562886666ece70040bb6 (patch) | |
tree | a983fd41c70514eb36db451bf7a497c7e02b7877 /x11 | |
parent | fa238b71c0a0b2ea6479a8038c90cea8a80445cd (diff) | |
download | ports-68257a672e5b65e289b4562886666ece70040bb6.tar.gz ports-68257a672e5b65e289b4562886666ece70040bb6.zip |
Notes
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gdm/Makefile | 1 | ||||
-rw-r--r-- | x11/gdm/files/patch-ar | 19 | ||||
-rw-r--r-- | x11/gdm/files/patch-daemon::slave.c | 17 | ||||
-rw-r--r-- | x11/gdm2/Makefile | 1 | ||||
-rw-r--r-- | x11/gdm2/files/patch-ar | 19 | ||||
-rw-r--r-- | x11/gdm2/files/patch-daemon::slave.c | 17 |
6 files changed, 74 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 825c07808cd9..de5bdcde3ec9 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -7,6 +7,7 @@ PORTNAME= gdm PORTVERSION= 2.2.4.2 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/gdm 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); diff --git a/x11/gdm/files/patch-daemon::slave.c b/x11/gdm/files/patch-daemon::slave.c new file mode 100644 index 000000000000..d2eda7d4f4ed --- /dev/null +++ b/x11/gdm/files/patch-daemon::slave.c @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- daemon/slave.c 2001/10/16 06:36:10 1.1 ++++ daemon/slave.c 2001/10/16 06:38:57 +@@ -1088,7 +1088,10 @@ + /* this is again informal only, if the greeter does time out it will + * not actually login a user if it's not enabled for this display */ + if (d->timed_login_ok) { +- ve_setenv ("GDM_TIMED_LOGIN_OK", ParsedTimedLogin, TRUE); ++ if (ParsedTimedLogin == NULL) ++ ve_setenv ("GDM_TIMED_LOGIN_OK", "", TRUE); ++ else ++ ve_setenv ("GDM_TIMED_LOGIN_OK", ParsedTimedLogin, TRUE); + } else { + ve_unsetenv ("GDM_TIMED_LOGIN_OK"); + } diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile index 825c07808cd9..de5bdcde3ec9 100644 --- a/x11/gdm2/Makefile +++ b/x11/gdm2/Makefile @@ -7,6 +7,7 @@ PORTNAME= gdm PORTVERSION= 2.2.4.2 +PORTREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= stable/sources/gdm diff --git a/x11/gdm2/files/patch-ar b/x11/gdm2/files/patch-ar new file mode 100644 index 000000000000..b0b8c0315d67 --- /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); diff --git a/x11/gdm2/files/patch-daemon::slave.c b/x11/gdm2/files/patch-daemon::slave.c new file mode 100644 index 000000000000..d2eda7d4f4ed --- /dev/null +++ b/x11/gdm2/files/patch-daemon::slave.c @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- daemon/slave.c 2001/10/16 06:36:10 1.1 ++++ daemon/slave.c 2001/10/16 06:38:57 +@@ -1088,7 +1088,10 @@ + /* this is again informal only, if the greeter does time out it will + * not actually login a user if it's not enabled for this display */ + if (d->timed_login_ok) { +- ve_setenv ("GDM_TIMED_LOGIN_OK", ParsedTimedLogin, TRUE); ++ if (ParsedTimedLogin == NULL) ++ ve_setenv ("GDM_TIMED_LOGIN_OK", "", TRUE); ++ else ++ ve_setenv ("GDM_TIMED_LOGIN_OK", ParsedTimedLogin, TRUE); + } else { + ve_unsetenv ("GDM_TIMED_LOGIN_OK"); + } |