From d0280fc5ec24f1285e59e6d68808fd6c3c3942c2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 15 Oct 2010 18:23:05 +0000 Subject: Fix building with newer glibc #339674 by Ruediger Kramolisch. (Portage version: 2.2_rc96/cvs/Linux x86_64) --- sys-apps/makedev/makedev-3.23.1.ebuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'sys-apps/makedev/makedev-3.23.1.ebuild') diff --git a/sys-apps/makedev/makedev-3.23.1.ebuild b/sys-apps/makedev/makedev-3.23.1.ebuild index a8f5f78eb95e..8f1141cab63c 100644 --- a/sys-apps/makedev/makedev-3.23.1.ebuild +++ b/sys-apps/makedev/makedev-3.23.1.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.4 2007/08/07 14:51:37 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/makedev/makedev-3.23.1.ebuild,v 1.5 2010/10/15 18:23:05 vapier Exp $ -inherit toolchain-funcs +EAPI="2" + +inherit eutils toolchain-funcs MY_PN="MAKEDEV" MY_VER=${PV%.*} @@ -22,6 +24,10 @@ DEPEND="" S=${WORKDIR}/${MY_P} +src_prepare() { + epatch "${FILESDIR}"/${P}-headers.patch #339674 +} + src_compile() { use selinux && export SELINUX=1 emake CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die -- cgit v1.2.3-65-gdbad