summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-03 16:58:14 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-03 16:58:14 +0000
commit48981eb5bb57bf3c9ab00c735da9c3a2e2185bf4 (patch)
tree48db6cacedad73fe3f42c105dee29ba50ef014b8 /net-dialup
parentamd64 stable, bug 159417 (diff)
downloadgentoo-2-48981eb5bb57bf3c9ab00c735da9c3a2e2185bf4.tar.gz
gentoo-2-48981eb5bb57bf3c9ab00c735da9c3a2e2185bf4.tar.bz2
gentoo-2-48981eb5bb57bf3c9ab00c735da9c3a2e2185bf4.zip
Fix building with sanitized linux-headers #159823 by Emanuele Tamponi.
(Portage version: 2.1.2_rc4-r5)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/linux-atm/ChangeLog7
-rw-r--r--net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild19
2 files changed, 11 insertions, 15 deletions
diff --git a/net-dialup/linux-atm/ChangeLog b/net-dialup/linux-atm/ChangeLog
index a79343d9b824..cfb6d9e42582 100644
--- a/net-dialup/linux-atm/ChangeLog
+++ b/net-dialup/linux-atm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-dialup/linux-atm
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.19 2006/03/12 16:57:05 mrness Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/ChangeLog,v 1.20 2007/01/03 16:58:14 vapier Exp $
+
+ 03 Jan 2007; Mike Frysinger <vapier@gentoo.org> linux-atm-2.4.1-r1.ebuild:
+ Fix building with sanitized linux-headers #159823 by Emanuele Tamponi.
12 Mar 2006; Alin Nastac <mrness@gentoo.org> metadata.xml,
-linux-atm-2.4.1.ebuild, linux-atm-2.4.1-r1.ebuild:
diff --git a/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild b/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
index 0cba77ac7120..87ca83c84b5e 100644
--- a/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
+++ b/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild,v 1.14 2006/06/06 06:22:32 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/linux-atm/linux-atm-2.4.1-r1.ebuild,v 1.15 2007/01/03 16:58:14 vapier Exp $
inherit eutils libtool
@@ -12,7 +12,6 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
-
RESTRICT="test"
src_unpack() {
@@ -30,20 +29,14 @@ src_unpack() {
# Fedora patch: include stdlib.h for strtol prototype in sigd/cfg_y.y
epatch "${FILESDIR}"/${PV}-stdlib.patch
- elibtoolize
-}
+ sed -i '/#define _LINUX_NETDEVICE_H/d' src/arpd/*.c || die
+ sed -i 's:cp hosts.atm /etc:cp hosts.atm ${DESTDIR}/etc:' src/config/Makefile.in || die "sed operation on Makefile failed"
-src_compile() {
- econf || die "configure failed"
- sed -i 's:cp hosts.atm /etc:cp hosts.atm ${DESTDIR}/etc:' src/config/Makefile || die "sed operation on Makefile failed"
- emake || die "make failed"
+ elibtoolize
}
src_install() {
- make \
- DESTDIR="${D}" \
- man_prefix=/usr/share/man \
- install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
dodoc README NEWS THANKS AUTHORS BUGS ChangeLog
dodoc doc/README* doc/atm*