aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-03-20 08:18:36 +0800
committerwill <will@FreeBSD.org>2002-03-20 08:18:36 +0800
commit008609faee52f12491f0849aa6c8789770482511 (patch)
treeaecaee19d010aef72169e3646502ba1ea1181710 /x11
parent345203d59f6714822b65aa56ca0d2f46a1148ceb (diff)
downloadfreebsd-ports-gnome-008609faee52f12491f0849aa6c8789770482511.tar.gz
freebsd-ports-gnome-008609faee52f12491f0849aa6c8789770482511.tar.zst
freebsd-ports-gnome-008609faee52f12491f0849aa6c8789770482511.zip
Add fix for XDM: Use SU="su -m" instead of SU="su", otherwise given the
default setup for the "nobody" account, login will fail. PORTREVISION bumped to include this fix for XFree86-4-clients. PR: 36084 Submitted by: Stefan `Sec` Zehl <sec@42.org>
Diffstat (limited to 'x11')
-rw-r--r--x11/XFree86-4-clients/Makefile2
-rw-r--r--x11/XFree86-4-libraries/files/patch-xdm-config11
2 files changed, 12 insertions, 1 deletions
diff --git a/x11/XFree86-4-clients/Makefile b/x11/XFree86-4-clients/Makefile
index 3b5f056bfa8d..c05a3bc87817 100644
--- a/x11/XFree86-4-clients/Makefile
+++ b/x11/XFree86-4-clients/Makefile
@@ -7,7 +7,7 @@
PORTNAME= clients
PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XFREE} \
ftp://psych.psy.uq.oz.au/pub/X11R5/:wrap \
diff --git a/x11/XFree86-4-libraries/files/patch-xdm-config b/x11/XFree86-4-libraries/files/patch-xdm-config
new file mode 100644
index 000000000000..8cb26a8ae894
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-xdm-config
@@ -0,0 +1,11 @@
+--- programs/xdm/config/Imakefile.org Sun Nov 25 13:49:19 2001
++++ programs/xdm/config/Imakefile Tue Mar 19 18:11:50 2002
+@@ -28,7 +28,7 @@
+ XDMPIDDIR = $(XDMDIR)
+ #endif
+
+-#if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture)
++#if defined(OpenBSDArchitecture) || defined(NetBSDArchitecture) || defined(FreeBSDArchitecture)
+ SU = "su -m"
+ #else
+ SU = su