Blame SOURCES/0001-configure-don-t-assume-x-server-defaults-to-local-on.patch

ca70cf
From 56e545ff4c87685f50ee9c77e0faab0c44b4ee3c Mon Sep 17 00:00:00 2001
ca70cf
From: Ray Strode <rstrode@redhat.com>
ca70cf
Date: Mon, 3 Dec 2018 13:58:47 -0500
ca70cf
Subject: [PATCH] configure: don't assume x server defaults to local only
ca70cf
ca70cf
it doesn't in rhel.
ca70cf
---
ca70cf
 configure.ac | 8 --------
ca70cf
 1 file changed, 8 deletions(-)
ca70cf
ca70cf
diff --git a/configure.ac b/configure.ac
ca70cf
index 7ad55df84..4ed53027f 100644
ca70cf
--- a/configure.ac
ca70cf
+++ b/configure.ac
ca70cf
@@ -1243,68 +1243,60 @@ elif test -x /usr/X11R6/bin/X; then
ca70cf
    X_PATH="/usr/X11R6/bin"
ca70cf
    X_SERVER_PATH="/usr/X11R6/bin"
ca70cf
    X_SERVER="/usr/X11R6/bin/X"
ca70cf
 elif test -x /usr/bin/Xorg; then
ca70cf
    X_PATH="/usr/bin"
ca70cf
    X_SERVER_PATH="/usr/bin"
ca70cf
    X_SERVER="/usr/bin/Xorg"
ca70cf
 elif test -x /usr/X11/bin/X; then
ca70cf
    X_PATH="/usr/X11/bin"
ca70cf
    X_SERVER_PATH="/usr/X11/bin"
ca70cf
    X_SERVER="/usr/X11/bin/X"
ca70cf
 elif test -x /usr/openwin/bin/Xsun; then
ca70cf
    # Do not add /usr/openwin/bin here because on Solaris you need
ca70cf
    # /usr/openwin/bin in your PATH even if you are using the Xorg
ca70cf
    # Xserver.  We add this to the path below.
ca70cf
    X_PATH="/usr/openwin/bin"
ca70cf
    X_SERVER_PATH="/usr/openwin/bin"
ca70cf
    X_SERVER="/usr/openwin/bin/Xsun"
ca70cf
 elif test -x /opt/X11R6/bin/X; then
ca70cf
    X_PATH="/opt/X11R6/bin"
ca70cf
    X_SERVER_PATH="/opt/X11R6/bin"
ca70cf
    X_SERVER="/opt/X11R6/bin/X"
ca70cf
 else
ca70cf
    # what to do, what to do, this is wrong, but this just sets the
ca70cf
    # defaults, perhaps this user is cross compiling or some such
ca70cf
    X_PATH="/usr/bin/X11:/usr/X11R6/bin:/opt/X11R6/bin"
ca70cf
    X_SERVER_PATH="/usr/bin"
ca70cf
    X_SERVER="/usr/bin/X"
ca70cf
 fi
ca70cf
 
ca70cf
-dnl ---------------------------------------------------------------------------
ca70cf
-dnl - Check if Xorg is new enough to require '-listen tcp' (1.17)
ca70cf
-dnl ---------------------------------------------------------------------------
ca70cf
-
ca70cf
-if $PKG_CONFIG --atleast-version=1.17 xorg-server; then
ca70cf
-   AC_DEFINE([HAVE_XSERVER_THAT_DEFAULTS_TO_LOCAL_ONLY], [], [XServer disables tcp access by default])
ca70cf
-fi
ca70cf
-
ca70cf
 dnl ---------------------------------------------------------------------------
ca70cf
 dnl - Expand vars
ca70cf
 dnl ---------------------------------------------------------------------------
ca70cf
 
ca70cf
 AS_AC_EXPAND(LOCALSTATEDIR, $localstatedir)
ca70cf
 AS_AC_EXPAND(SYSCONFDIR, $sysconfdir)
ca70cf
 AS_AC_EXPAND(DATADIR, $datadir)
ca70cf
 AS_AC_EXPAND(BINDIR, $bindir)
ca70cf
 AS_AC_EXPAND(SBINDIR, $sbindir)
ca70cf
 AS_AC_EXPAND(LIBDIR, $libdir)
ca70cf
 AS_AC_EXPAND(LIBEXECDIR, $libexecdir)
ca70cf
 
ca70cf
 dnl ---------------------------------------------------------------------------
ca70cf
 dnl - runtime directory
ca70cf
 dnl ---------------------------------------------------------------------------
ca70cf
 
ca70cf
 AC_ARG_WITH([run-dir],
ca70cf
             AS_HELP_STRING([--with-run-dir=<file>],
ca70cf
                            [runtime directory]))
ca70cf
 
ca70cf
 if ! test -z "$with_run_dir"; then
ca70cf
    GDM_RUN_DIR=$with_run_dir
ca70cf
 else
ca70cf
    GDM_RUN_DIR=${localstatedir}/run/gdm
ca70cf
 fi
ca70cf
 
ca70cf
 AC_SUBST([GDM_RUN_DIR])
ca70cf
 
ca70cf
 dnl ---------------------------------------------------------------------------
ca70cf
 dnl - PID file
ca70cf
-- 
ca70cf
2.17.1
ca70cf