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"