From a8b0e1b5f9c6b2786f3149dc0530d14fcb166e78 Mon Sep 17 00:00:00 2001 From: Kacper Kowalik Date: Wed, 29 Feb 2012 15:50:47 +0000 Subject: Fix implicit function declarations (Portage version: 2.2.0_alpha86/cvs/Linux x86_64) --- sys-fs/mtpfs/mtpfs-1.0.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sys-fs/mtpfs/mtpfs-1.0.ebuild') diff --git a/sys-fs/mtpfs/mtpfs-1.0.ebuild b/sys-fs/mtpfs/mtpfs-1.0.ebuild index 835f55d3aa3e..4470ff90457d 100644 --- a/sys-fs/mtpfs/mtpfs-1.0.ebuild +++ b/sys-fs/mtpfs/mtpfs-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/mtpfs-1.0.ebuild,v 1.1 2012/02/15 00:20:41 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/mtpfs-1.0.ebuild,v 1.2 2012/02/29 15:50:47 xarthisius Exp $ EAPI=4 @@ -22,6 +22,11 @@ RDEPEND="${DEPEND}" DOCS=(AUTHORS NEWS README) +src_prepare() { + sed -e "/#include / a\ + #include " -i mtpfs.h id3read.c || die #implicit +} + src_configure() { econf $(use_enable debug) } -- cgit v1.2.3-65-gdbad