termux-packages/x11-packages/xrdp/no-strict-locations.patch

24 lines
570 B
Diff

diff -uNr xrdp-0.9.8/configure xrdp-0.9.8.mod/configure
--- xrdp-0.9.8/configure 2018-09-25 09:19:18.000000000 +0300
+++ xrdp-0.9.8.mod/configure 2018-12-27 14:06:31.841304140 +0200
@@ -14388,18 +14388,7 @@
moduledir='${libdir}/xrdp'
-# Check whether --enable-strict-locations was given.
-if test "${enable_strict_locations+set}" = set; then :
- enableval=$enable_strict_locations;
-else
- enable_strict_locations=no
-fi
-
-
-if test "x$enable_strict_locations" != "xyes"; then
- sysconfdir="/etc";
- localstatedir="/var";
-fi
+enable_strict_locations=no