openbsd-ports/x11/gnome/gdm/patches/patch-configure
ajacoutot a6400c59f6 - update to gdm-2.20.9
this does not really concerns us as all fixed bugs are solaris related, but
well at least we're running with the latest "old" GDM version ;)

ok jasper@
2009-01-28 16:39:01 +00:00

51 lines
1.3 KiB
Plaintext

$OpenBSD: patch-configure,v 1.14 2009/01/28 16:39:01 ajacoutot Exp $
--- configure.orig Wed Dec 10 23:26:30 2008
+++ configure Wed Jan 28 14:49:12 2009
@@ -31009,7 +31009,6 @@ fi
if test x$with_tcp_wrappers = xno ; then
echo "TCP wrappers disabled"
else
- LIBWRAP_PATH=""
case "$host" in
*-*-solaris*)
if test -f /usr/lib/libwrap.so; then
@@ -31064,6 +31063,8 @@ cat >>conftest.$ac_ext <<_ACEOF
#ifdef __cplusplus
extern "C"
#endif
+int allow_severity = 1;
+int deny_severity = 1;
char hosts_ctl ();
int
main ()
@@ -31219,7 +31220,6 @@ else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
- LIBWRAP_PATH=""
fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
@@ -32999,7 +32999,7 @@ fi
#
# Define some variables to represent the directories we use.
#
-authdir=${localstatedir}/gdm
+authdir=${localstatedir}/db/gdm
gdmlocaledir=${gdmconfdir}
@@ -33834,6 +33834,12 @@ else
GDM_USER_PATH="$GDM_USER_PATH:/usr/bin/X11:/usr/X11R6/bin:/usr/local/bin:/opt/X11R6/bin"
X_CONFIG_OPTIONS="-audit 0"
fi
+
+case $host in
+ i386-*-openbsd*|amd64-*-openbsd*)
+ X_CONFIG_OPTIONS="$X_CONFIG_OPTIONS vt5"
+ ;;
+esac
# Use Xephyr if it is available. It works better than Xnest since Xephyr
# supports the Xserver extensions, even if on a remote machine.