aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2019-04-16 10:49:18 +0300
committerKhem Raj <raj.khem@gmail.com>2019-04-16 21:07:25 -0700
commitd062ff45be9b63afff87c25a7be2ffa626afdd5e (patch)
treea002dc6de8653f0bfaa86365caf590deaa864a66 /meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb
parentbb1324cd5286739b47f0156186c510faf6e2018f (diff)
downloadmeta-openembedded-contrib-d062ff45be9b63afff87c25a7be2ffa626afdd5e.tar.gz
linux-atm: Replace bogus on_exit removal with musl-specific hack
Functions registered by atexit and on_exit have different signatures, if registered with atexit no parameters are passed. The function only prints a trace on nonzero exit(), so can safely be disabled in musl builds. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb')
-rw-r--r--meta-networking/recipes-support/linux-atm/linux-atm_2.5.2.bb3
1 files changed, 2 insertions, 1 deletions
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 d34dc842ff..9ed7ca613b 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
@@ -10,11 +10,12 @@ SRC_URI = "http://nchc.dl.sourceforge.net/project/${BPN}/${BPN}/${PV}/${BPN}-${P
file://install-from-buildir.patch \
file://0001-fix-compile-error-with-linux-kernel-v4.8.patch \
file://0001-ttcp-Add-printf-format-string.patch \
- file://0002-sigd-Replace-on_exit-API-with-atexit.patch \
file://0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch \
file://0001-IFNAMSIZ-is-defined-in-net-if.h.patch \
"
+SRC_URI_append_libc-musl = " file://musl-no-on_exit.patch"
+
SRC_URI[md5sum] = "d49499368c3cf15f73a05d9bce8824a8"
SRC_URI[sha256sum] = "9645481a2b16476b59220aa2d6bc5bc41043f291326c9b37581018fbd16dd53a"