summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-10 11:51:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-10 11:51:49 +0000
commit9b9ed372608a84d528f45b8ba590b8390ad50ab7 (patch)
tree0292e3945318e7c02492d026919ffe97107a5cbf /media-video/guvcview/guvcview-0.9.6.ebuild
parentRemove pam_sha512 masking. (diff)
downloadgentoo-2-9b9ed372608a84d528f45b8ba590b8390ad50ab7.tar.gz
gentoo-2-9b9ed372608a84d528f45b8ba590b8390ad50ab7.tar.bz2
gentoo-2-9b9ed372608a84d528f45b8ba590b8390ad50ab7.zip
Add include for locale.h to get setlocale wrt #250495, thanks to Ivan Miljenovic.
(Portage version: 2.1.6/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'media-video/guvcview/guvcview-0.9.6.ebuild')
-rw-r--r--media-video/guvcview/guvcview-0.9.6.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/media-video/guvcview/guvcview-0.9.6.ebuild b/media-video/guvcview/guvcview-0.9.6.ebuild
index 5d446a7e8acb..86f2f67f4a66 100644
--- a/media-video/guvcview/guvcview-0.9.6.ebuild
+++ b/media-video/guvcview/guvcview-0.9.6.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-0.9.6.ebuild,v 1.1 2008/12/09 20:34:16 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/guvcview/guvcview-0.9.6.ebuild,v 1.2 2008/12/10 11:51:48 ssuominen Exp $
+
+inherit eutils
MY_P=${PN}-src-${PV}
@@ -24,6 +26,12 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-implicit_declaration_setlocale.patch
+}
+
src_compile() {
econf --disable-dependency-tracking
emake || die "emake failed."