media-radio/ax25-apps: Use termios.h instead of termio.h

Already used for musl libc but needed for >=glibc-2.42 also

Closes: https://bugs.gentoo.org/952954
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2026-01-31 16:41:05 +01:00
parent 8841965dbe
commit 8a53c13ef9

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,9 +34,8 @@ src_prepare() {
# fix missing prototype for malloc
sed -i -e "/^#include /i #include <stdlib.h>" ax25ipd/routing.c || die
eapply "${FILESDIR}"/${PN}-0.0.8_rc5-tinfo.patch
if use elibc_musl ; then
eapply -p1 "${FILESDIR}/${PN}-0.0.8-musl.patch"
fi
# use termios.h instead of termio.h (bug # 715802 + 968885)
eapply -p1 "${FILESDIR}/${PN}-0.0.8-musl.patch"
eapply_user
eautoreconf
}