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