summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-17 02:23:20 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-17 02:23:20 +0000
commitca30adc4f511244062a69bfaf7ed1cbc5c0d149b (patch)
tree05f2fb735fcc0ab50190d252e31e85c1cd4ec58c /app-misc/oneko
parentRespect LDFLAGS (bug #337615), CC (inherit toolchain-funcs). Use dobin and ne... (diff)
downloadgentoo-2-ca30adc4f511244062a69bfaf7ed1cbc5c0d149b.tar.gz
gentoo-2-ca30adc4f511244062a69bfaf7ed1cbc5c0d149b.tar.bz2
gentoo-2-ca30adc4f511244062a69bfaf7ed1cbc5c0d149b.zip
Add missing include.
(Portage version: 2.2_rc82/cvs/Linux i686)
Diffstat (limited to 'app-misc/oneko')
-rw-r--r--app-misc/oneko/ChangeLog6
-rw-r--r--app-misc/oneko/files/oneko-1.2-include.patch10
-rw-r--r--app-misc/oneko/oneko-1.2-r2.ebuild6
3 files changed, 19 insertions, 3 deletions
diff --git a/app-misc/oneko/ChangeLog b/app-misc/oneko/ChangeLog
index b596d3bc1ed4..ac20b34e5f09 100644
--- a/app-misc/oneko/ChangeLog
+++ b/app-misc/oneko/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-misc/oneko
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/ChangeLog,v 1.17 2010/09/17 02:08:38 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/ChangeLog,v 1.18 2010/09/17 02:23:20 jer Exp $
+
+ 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> oneko-1.2-r2.ebuild,
+ +files/oneko-1.2-include.patch:
+ Add missing include.
*oneko-1.2-r2 (17 Sep 2010)
diff --git a/app-misc/oneko/files/oneko-1.2-include.patch b/app-misc/oneko/files/oneko-1.2-include.patch
new file mode 100644
index 000000000000..61d0a03f46b9
--- /dev/null
+++ b/app-misc/oneko/files/oneko-1.2-include.patch
@@ -0,0 +1,10 @@
+--- a/oneko.h 2010-09-17 04:05:11.000000000 +0200
++++ b/oneko.h 2010-09-17 04:15:18.000000000 +0200
+@@ -14,6 +14,7 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <unistd.h> /* pause() */
+ #include <string.h>
+
+ #include <signal.h>
diff --git a/app-misc/oneko/oneko-1.2-r2.ebuild b/app-misc/oneko/oneko-1.2-r2.ebuild
index b07e633534d5..5d3a7976912d 100644
--- a/app-misc/oneko/oneko-1.2-r2.ebuild
+++ b/app-misc/oneko/oneko-1.2-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/oneko-1.2-r2.ebuild,v 1.1 2010/09/17 02:08:40 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/oneko/oneko-1.2-r2.ebuild,v 1.2 2010/09/17 02:23:20 jer Exp $
EAPI="2"
@@ -29,7 +29,9 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/oneko-${PV}.sakura.5"
src_prepare() {
- epatch "${WORKDIR}/${P}-sakura-nobsd.patch"
+ epatch \
+ "${WORKDIR}/${P}-sakura-nobsd.patch" \
+ "${FILESDIR}/${P}-include.patch"
}
src_configure() {