diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-03-03 13:42:34 +0000 |
commit | 066d27181e9a797ad9f8fc43b49fc9a10ff2f707 (patch) | |
tree | 3cb05783d73b2c33589ba305144a31c718e123cd /x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch | |
parent | 16449a80e28af2209916cc66d19c9a44ca2b90d9 (diff) |
gentoo resync : 03.03.2019
Diffstat (limited to 'x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch')
-rw-r--r-- | x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch b/x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch new file mode 100644 index 000000000000..bc953ff0f31c --- /dev/null +++ b/x11-apps/xdm/files/xdm-1.1.12-make-xinerama-optional.patch @@ -0,0 +1,34 @@ + configure.ac | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index db973f7..64a0e37 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -330,7 +330,13 @@ AC_SUBST(SHELL_CMD) + + PKG_CHECK_MODULES(XDM, [xmu x11 xau xproto >= 7.0.17]) + +-PKG_CHECK_EXISTS(xinerama, [ ++AC_ARG_WITH(xinerama, ++ AS_HELP_STRING([--with-xinerama], ++ [Use Xinerama (default is YES if installed)]), ++ [USE_XINERAMA="$withval"], ++ PKG_CHECK_EXISTS(xinerama, [USE_XINERAMA="yes"], [USE_XINERAMA="no"])) ++ ++if test "x$USE_XINERAMA" = "xyes" ; then + AC_DEFINE([USE_XINERAMA], 1, + [Define to 1 to use XINERAMA in greeter & chooser]) + PKG_CHECK_MODULES(XINERAMA, xinerama) +@@ -338,7 +344,7 @@ PKG_CHECK_EXISTS(xinerama, [ + CHOOSER_LIBS="$CHOOSER_LIBS $XINERAMA_LIBS" + GREETER_CFLAGS="$GREETER_CFLAGS $XINERAMA_CFLAGS" + GREETER_LIBS="$GREETER_LIBS $XINERAMA_LIBS" +-]) ++fi + + # Xft text drawing for the greeter screen + AC_ARG_WITH(xft, +-- +2.19.2 + |