commit:     a96daf9a2e6b7eed9584917fa25c00c29997c5bf
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 19 08:51:36 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Sat Nov 19 08:52:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96daf9a

app-text/cwtext: Add missing include file

Closes: https://bugs.gentoo.org/880915
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 app-text/cwtext/cwtext-0.96-r1.ebuild                       |  3 ++-
 app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

diff --git a/app-text/cwtext/cwtext-0.96-r1.ebuild 
b/app-text/cwtext/cwtext-0.96-r1.ebuild
index 25b8dac1a7a3..309da04a1ee4 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 000000000000..bc52d0563376
--- /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 <stdio.h>
++#include <ctype.h>
+ 
+ #include "cw.h"
+ #include "morse.h"

Reply via email to