summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-02-29 15:50:47 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-02-29 15:50:47 +0000
commita8b0e1b5f9c6b2786f3149dc0530d14fcb166e78 (patch)
tree00780c9c74a898adb4433f6a80b14a76ca071fcb /sys-fs/mtpfs/mtpfs-1.0.ebuild
parentStable for amd64, wrt bug #406173 (diff)
downloadgentoo-2-a8b0e1b5f9c6b2786f3149dc0530d14fcb166e78.tar.gz
gentoo-2-a8b0e1b5f9c6b2786f3149dc0530d14fcb166e78.tar.bz2
gentoo-2-a8b0e1b5f9c6b2786f3149dc0530d14fcb166e78.zip
Fix implicit function declarations
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/mtpfs/mtpfs-1.0.ebuild')
-rw-r--r--sys-fs/mtpfs/mtpfs-1.0.ebuild7
1 files changed, 6 insertions, 1 deletions
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 <string.h>/ a\
+ #include <stdlib.h>" -i mtpfs.h id3read.c || die #implicit
+}
+
src_configure() {
econf $(use_enable debug)
}