diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch')
| -rw-r--r-- | meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch b/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch new file mode 100644 index 0000000000..3b4caa2215 --- /dev/null +++ b/meta-oe/recipes-connectivity/gensio/files/0001-configure-Check-for-request_init-API-when-probing-fo.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From f56e59712d8708c74a4cf66d24b5703fc16b22ae Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Thu, 1 Sep 2022 11:31:48 -0700 | ||
| 4 | Subject: [PATCH] configure: Check for request_init API when probing for | ||
| 5 | libwrap | ||
| 6 | |||
| 7 | checking for main() is not right check, since this function is not part | ||
| 8 | of libwrap but the app. Newer autocof and toolchain may fail | ||
| 9 | |||
| 10 | Upstream-Status: Submitted [https://github.com/cminyard/gensio/pull/48] | ||
| 11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 12 | --- | ||
| 13 | configure.ac | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/configure.ac b/configure.ac | ||
| 17 | index 90cfcb6b..1c06d918 100644 | ||
| 18 | --- a/configure.ac | ||
| 19 | +++ b/configure.ac | ||
| 20 | @@ -109,7 +109,7 @@ AC_ARG_WITH(tcp-wrappers, | ||
| 21 | if test "$tcp_wrappers" != "no" | ||
| 22 | then | ||
| 23 | AC_CHECK_HEADERS([tcpd.h]) | ||
| 24 | - AC_CHECK_LIB(wrap,main) | ||
| 25 | + AC_CHECK_LIB(wrap,request_init) | ||
| 26 | fi | ||
| 27 | |||
| 28 | AC_ARG_ENABLE([doc], | ||
| 29 | -- | ||
| 30 | 2.37.3 | ||
| 31 | |||
