diff options
-rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm/0001-configure-Check-for-symbol-from-libresolv-instead-of.patch | 28 | ||||
-rw-r--r-- | meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm/0001-configure-Check-for-symbol-from-libresolv-instead-of.patch b/meta-networking/recipes-support/linux-atm/linux-atm/0001-configure-Check-for-symbol-from-libresolv-instead-of.patch new file mode 100644 index 0000000000..abae366d28 --- /dev/null +++ b/meta-networking/recipes-support/linux-atm/linux-atm/0001-configure-Check-for-symbol-from-libresolv-instead-of.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From a2a2e1b7a3f4f90e32912b5ba9b79e1a02275775 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 1 Sep 2022 11:17:13 -0700 | ||
4 | Subject: [PATCH] configure: Check for symbol from libresolv instead of main | ||
5 | |||
6 | This checks will fail with modern autoconf and compilers | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | configure.in | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | --- a/configure.in | ||
15 | +++ b/configure.in | ||
16 | @@ -45,12 +45,7 @@ AC_CHECK_HEADER(linux/atmsap.h, , | ||
17 | ) | ||
18 | |||
19 | dnl Check for libraries | ||
20 | -dnl libresolv is required | ||
21 | -AC_CHECK_LIB(resolv, main, , | ||
22 | - AC_MSG_ERROR([*** Unable to find libresolv!!!]) | ||
23 | -) | ||
24 | |||
25 | -dnl We don't want libresolv everywhere, just with libatm | ||
26 | LIBS="" | ||
27 | |||
28 | INCLUDES="-I\$(top_srcdir)/src/include" | ||
diff --git a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb index 70125102cd..86b9112ba2 100644 --- a/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb +++ b/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P | |||
15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ | 15 | file://0001-saaldump-atmdump-Include-linux-sockios.h-for-SIOCGST.patch \ |
16 | file://0001-make-Add-PREFIX-knob.patch \ | 16 | file://0001-make-Add-PREFIX-knob.patch \ |
17 | file://0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch \ | 17 | file://0001-include-string-h-from-memcpy-and-strcpy-function-pro.patch \ |
18 | file://0001-configure-Check-for-symbol-from-libresolv-instead-of.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" | 21 | SRC_URI:append:libc-musl = " file://musl-no-on_exit.patch" |