[Slackbuilds-users] xrdp patch for Slackware64 14.2 Multilib
Konrad J Hambrick
kjhambrick at gmail.com
Fri Jan 6 14:43:21 UTC 2017
All --
xrdp fails to build on Slackware64 14.2 + Multilib because of a hard-coded
-L/usr/X11R6/lib path in two Makefile.am files.
The pttached Patch ixes the path for a 64-bit system.
Thanks for all that you're doing !
-- kjh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170106/f79019c3/attachment.html>
-------------- next part --------------
--- xrdp.SlackBuild.orig 2016-07-06 19:24:08.939843440 -0500
+++ xrdp.SlackBuild 2017-01-06 08:38:20.313337212 -0600
@@ -62,7 +62,16 @@
else
NOPAM_OPT=""
fi
+#
+# kjh added this
+#
+if [ "$ARCH" = "x86_64" ]
+then
+ sed -i -e 's|-L/usr/X11R6/lib|-L/usr/X11R6/lib64|' ./genkeymap/Makefile.am
+ sed -i -e 's|-L/usr/X11R6/lib|-L/usr/X11R6/lib64|' ./sesman/chansrv/Makefile.am
+
+fi
# patches from Mancha
patch -p1 < $CWD/xrdp-v0.6.1_disabled.diff
patch -p1 < $CWD/xrdp-v0.6.1_crypt.diff
More information about the SlackBuilds-users
mailing list