From 5a9f4b981051cfbb0f13922971722721184a4764 Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Tue, 29 Dec 2015 07:23:41 +0100 Subject: media-radio/cwdaemon: Fix missing headers for gcc>=5 (bug #569970) Thanks for reporting Toralf. Package-Manager: portage-2.2.26 --- media-radio/cwdaemon/cwdaemon-0.10.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'media-radio') diff --git a/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild b/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild index bb0475bff629..c27eb1ba3290 100644 --- a/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild +++ b/media-radio/cwdaemon/cwdaemon-0.10.2.ebuild @@ -4,6 +4,8 @@ EAPI=5 +inherit flag-o-matic + DESCRIPTION="A morse daemon for the parallel or serial port" HOMEPAGE="http://cwdaemon.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -16,3 +18,9 @@ IUSE="" RDEPEND=">=media-radio/unixcw-3.3.1" DEPEND="$RDEPEND virtual/pkgconfig" + +src_configure() { + # provides header info for getaddrinfo() with C99 (bug 569970) + append-cppflags -D_GNU_SOURCE + econf +} -- cgit v1.2.3-65-gdbad