summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-11-19 09:51:36 +0100
committerThomas Beierlein <tomjbe@gentoo.org>2022-11-19 09:52:15 +0100
commita96daf9a2e6b7eed9584917fa25c00c29997c5bf (patch)
treecfaf86c4a46ea3478b95ab3b1a93958aeff01850 /app-text
parentdev-python/stevedore: Stabilize 4.0.2 ALLARCHES, #881947 (diff)
downloadgentoo-a96daf9a2e6b7eed9584917fa25c00c29997c5bf.tar.gz
gentoo-a96daf9a2e6b7eed9584917fa25c00c29997c5bf.tar.bz2
gentoo-a96daf9a2e6b7eed9584917fa25c00c29997c5bf.zip
app-text/cwtext: Add missing include file
Closes: https://bugs.gentoo.org/880915 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'app-text')
-rw-r--r--app-text/cwtext/cwtext-0.96-r1.ebuild3
-rw-r--r--app-text/cwtext/files/cwtext-0.96-fix-missing-include.patch11
2 files changed, 13 insertions, 1 deletions
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"