From a96daf9a2e6b7eed9584917fa25c00c29997c5bf Mon Sep 17 00:00:00 2001 From: Thomas Beierlein Date: Sat, 19 Nov 2022 09:51:36 +0100 Subject: [PATCH] app-text/cwtext: Add missing include file Closes: https://bugs.gentoo.org/880915 Signed-off-by: Thomas Beierlein --- app-text/cwtext/cwtext-0.96-r1.ebuild | 3 ++- .../files/cwtext-0.96-fix-missing-include.patch | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch diff --git a/app-text/cwtext/cwtext-0.96-r1.ebuild b/app-text/cwtext/cwtext-0.96-r1.ebuild index 25b8dac1a7a33..309da04a1ee4b 100644 --- a/app-text/cwtext/cwtext-0.96-r1.ebuild +++ b/app-text/cwtext/cwtext-0.96-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -16,6 +16,7 @@ IUSE="" PATCHES=( "${FILESDIR}"/${PN}-0.96-pcm.patch "${FILESDIR}"/${PN}-0.94-asneeded.patch + "${FILESDIR}"/${PN}-0.96-fix-missing-include.patch ) DOCS=( Changes README TODO ) diff --git a/app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch b/app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch new file mode 100644 index 0000000000000..bc52d05633760 --- /dev/null +++ b/app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch @@ -0,0 +1,11 @@ +index 3995cc3..2fd6ae6 100644 +--- morse.c ++++ morse.c +@@ -18,6 +18,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + + #include ++#include + + #include "cw.h" + #include "morse.h"