summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-08 22:47:32 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-08 22:55:13 -0400
commita334c52ac48a3f169fe5abe81790d448c0c296fe (patch)
tree5be35aa3a53beef60c2cf96ce336c7f539594089 /net-misc/utelnetd
parentnet-misc/utelnetd: EAPI6->8, adjust deps, remove dead urls (diff)
downloadgentoo-a334c52ac48a3f169fe5abe81790d448c0c296fe.tar.gz
gentoo-a334c52ac48a3f169fe5abe81790d448c0c296fe.tar.bz2
gentoo-a334c52ac48a3f169fe5abe81790d448c0c296fe.zip
net-misc/utelnetd: fix build with upcoming clang16
(was revbumped at same time in previous commit for other compilers) Closes: https://bugs.gentoo.org/871195 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'net-misc/utelnetd')
-rw-r--r--net-misc/utelnetd/utelnetd-0.1.11-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/net-misc/utelnetd/utelnetd-0.1.11-r3.ebuild b/net-misc/utelnetd/utelnetd-0.1.11-r3.ebuild
index bc0ab879e6df..7c072e0d028a 100644
--- a/net-misc/utelnetd/utelnetd-0.1.11-r3.ebuild
+++ b/net-misc/utelnetd/utelnetd-0.1.11-r3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
DESCRIPTION="Small telnet daemon derived from the Axis tools"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
@@ -22,6 +22,8 @@ src_prepare() {
-e "/^CC/s|=.*|= $(tc-getCC)|" \
-e "/fomit-frame-pointer/d" \
-i Makefile || die
+
+ append-cppflags -D_GNU_SOURCE #871195
}
src_install() {