summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dropbear/dropbear-0.52/configure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/dropbear/dropbear-0.52/configure.patch')
-rw-r--r--meta/recipes-core/dropbear/dropbear-0.52/configure.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/dropbear/dropbear-0.52/configure.patch b/meta/recipes-core/dropbear/dropbear-0.52/configure.patch
new file mode 100644
index 0000000000..8d11b23f14
--- /dev/null
+++ b/meta/recipes-core/dropbear/dropbear-0.52/configure.patch
@@ -0,0 +1,27 @@
1Index: dropbear-0.49/configure.in
2===================================================================
3--- dropbear-0.49.orig/configure.in
4+++ dropbear-0.49/configure.in
5@@ -164,14 +164,20 @@ AC_ARG_ENABLE(openpty,
6 AC_MSG_NOTICE(Not using openpty)
7 else
8 AC_MSG_NOTICE(Using openpty if available)
9- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)])
10+ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
11 fi
12 ],
13 [
14 AC_MSG_NOTICE(Using openpty if available)
15- AC_SEARCH_LIBS(openpty, util, [AC_DEFINE(HAVE_OPENPTY)])
16+ AC_SEARCH_LIBS(openpty, util, [dropbear_cv_func_have_openpty=yes])
17 ]
18 )
19+
20+if test "x$dropbear_cv_func_have_openpty" = "xyes"; then
21+ AC_DEFINE(HAVE_OPENPTY,,Have openpty() function)
22+ no_ptc_check=yes
23+ no_ptmx_check=yes
24+fi
25
26
27 AC_ARG_ENABLE(syslog,