From eacd8cf5714bb0bef7b0f390fd3665954833c169 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Fri, 16 Aug 2019 14:06:23 +0300 Subject: [PATCH] cboard: assume that /dev/ptmx always available & works Fix for on-device builds. --- packages/cboard/configure.patch | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/packages/cboard/configure.patch b/packages/cboard/configure.patch index 63aefe92d..38c46eb94 100644 --- a/packages/cboard/configure.patch +++ b/packages/cboard/configure.patch @@ -1,7 +1,23 @@ -diff -u -r ../cboard-0.7.3/configure ./configure ---- ../cboard-0.7.3/configure 2015-01-18 12:26:31.000000000 -0500 -+++ ./configure 2015-07-11 06:51:31.092218872 -0400 -@@ -11484,40 +11484,7 @@ +diff -uNr cboard-0.7.5/configure cboard-0.7.5.mod/configure +--- cboard-0.7.5/configure 2018-09-27 17:48:24.000000000 +0300 ++++ cboard-0.7.5.mod/configure 2019-08-16 14:05:44.294565834 +0300 +@@ -12194,13 +12194,8 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Unix98 pty support" >&5 + $as_echo_n "checking for Unix98 pty support... " >&6; } +-if test -c "/dev/ptmx"; then +- have_ptmx=yes +-else +- have_ptmx=no +-fi +- +-ptmx_works=no ++have_ptmx=yes ++ptmx_works=yes + + if test "x$have_ptmx" = "xyes"; then + ac_ext=c +@@ -12210,40 +12205,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "$cross_compiling" = yes; then :