summaryrefslogtreecommitdiffstats
path: root/x11/kdebase3
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2005-12-01 05:30:18 +0000
committerlofi <lofi@FreeBSD.org>2005-12-01 05:30:18 +0000
commit9f975a8f0eb0aeb56449a5a73184519865d64d22 (patch)
treeb20448d9897373de0bc6e32112c3d4d11045568f /x11/kdebase3
parent9bba4d5d3a73850bde869264894ae7d70bc4d0f4 (diff)
downloadFreeBSD-ports-9f975a8f0eb0aeb56449a5a73184519865d64d22.zip
FreeBSD-ports-9f975a8f0eb0aeb56449a5a73184519865d64d22.tar.gz
Add a patch to fix KDE Bug 114385 (kdm segfaults on XDMCP request).
Diffstat (limited to 'x11/kdebase3')
-rw-r--r--x11/kdebase3/Makefile1
-rw-r--r--x11/kdebase3/files/patch-kdm_backend-xdmcp.c16
2 files changed, 17 insertions, 0 deletions
diff --git a/x11/kdebase3/Makefile b/x11/kdebase3/Makefile
index e9dccbc..6754486 100644
--- a/x11/kdebase3/Makefile
+++ b/x11/kdebase3/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
diff --git a/x11/kdebase3/files/patch-kdm_backend-xdmcp.c b/x11/kdebase3/files/patch-kdm_backend-xdmcp.c
new file mode 100644
index 0000000..79e18a4
--- /dev/null
+++ b/x11/kdebase3/files/patch-kdm_backend-xdmcp.c
@@ -0,0 +1,16 @@
+--- kdm/backend/xdmcp.c 2005/05/04 06:07:06 409205
++++ kdm/backend/xdmcp.c 2005/10/15 09:04:13 470797
+@@ -940,7 +940,12 @@
+ }
+ DisposeProtoDisplay( pdpy );
+ Debug( "starting display %s,%s\n", d->name, d->class2 );
+- StartDisplay( d );
++ if (LoadDisplayResources( d ) < 0) {
++ LogError( "Unable to read configuration for display %s; "
++ "stopping it.\n", d->name );
++ StopDisplay( d );
++ } else
++ StartDisplay( d );
+ CloseGetter();
+ }
+ }
OpenPOWER on IntegriCloud