summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-07-19 03:23:54 +0000
committerJeroen Roovers <jer@gentoo.org>2014-07-19 03:23:54 +0000
commit98027dc87d77b0545f2a0137013dc15a9b890514 (patch)
tree5658cf570e1b754ac77fff5215e71885e7d01c52 /app-misc
parentBeta channel bump. Remove old. (diff)
downloadgentoo-2-98027dc87d77b0545f2a0137013dc15a9b890514.tar.gz
gentoo-2-98027dc87d77b0545f2a0137013dc15a9b890514.tar.bz2
gentoo-2-98027dc87d77b0545f2a0137013dc15a9b890514.zip
Add missing include.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/banner/ChangeLog8
-rw-r--r--app-misc/banner/banner-1.3.3.ebuild12
-rw-r--r--app-misc/banner/files/banner-1.3.3-ctype.h.patch11
3 files changed, 25 insertions, 6 deletions
diff --git a/app-misc/banner/ChangeLog b/app-misc/banner/ChangeLog
index 6e7ab1fcc9fc..439b048c3774 100644
--- a/app-misc/banner/ChangeLog
+++ b/app-misc/banner/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/banner
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/banner/ChangeLog,v 1.35 2013/05/11 18:23:01 hwoarang Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/banner/ChangeLog,v 1.36 2014/07/19 03:23:54 jer Exp $
+
+ 19 Jul 2014; Jeroen Roovers <jer@gentoo.org> banner-1.3.3.ebuild,
+ +files/banner-1.3.3-ctype.h.patch:
+ Add missing include.
*banner-1.3.3 (11 May 2013)
diff --git a/app-misc/banner/banner-1.3.3.ebuild b/app-misc/banner/banner-1.3.3.ebuild
index 19b554e31219..1ea23bdc3c19 100644
--- a/app-misc/banner/banner-1.3.3.ebuild
+++ b/app-misc/banner/banner-1.3.3.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/banner/banner-1.3.3.ebuild,v 1.1 2013/05/11 18:21:05 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/banner/banner-1.3.3.ebuild,v 1.2 2014/07/19 03:23:54 jer Exp $
-EAPI="5"
+EAPI=5
+inherit eutils
DESCRIPTION="The well known banner program for Linux"
HOMEPAGE="http://cedar-solutions.com"
@@ -11,6 +12,9 @@ SRC_URI="http://cedar-solutions.com/ftp/software/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux"
-IUSE=""
DEPEND="!games-misc/bsd-games"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-ctype.h.patch
+}
diff --git a/app-misc/banner/files/banner-1.3.3-ctype.h.patch b/app-misc/banner/files/banner-1.3.3-ctype.h.patch
new file mode 100644
index 000000000000..c89e1b3fe8d1
--- /dev/null
+++ b/app-misc/banner/files/banner-1.3.3-ctype.h.patch
@@ -0,0 +1,11 @@
+--- a/banner.c
++++ b/banner.c
+@@ -126,6 +126,8 @@
+ #include <string.h>
+ #endif
+
++#include <ctype.h> /* isspace() toupper() */
++
+ #include "letters.h"
+
+