From 33f1be91f7eb7f4d1712a7e29843791487cd4425 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 3 Jan 2007 16:58:14 +0000 Subject: [PATCH] Fix building with sanitized linux-headers #159823 by Emanuele Tamponi. Package-Manager: portage-2.1.2_rc4-r5 --- net-dialup/linux-atm/ChangeLog | 7 ++++-- net-dialup/linux-atm/Manifest | 24 +++++++++---------- .../linux-atm/linux-atm-2.4.1-r1.ebuild | 19 +++++---------- 3 files changed, 23 insertions(+), 27 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 linux-atm-2.4.1-r1.ebuild: + Fix building with sanitized linux-headers #159823 by Emanuele Tamponi. 12 Mar 2006; Alin Nastac metadata.xml, -linux-atm-2.4.1.ebuild, linux-atm-2.4.1-r1.ebuild: diff --git a/net-dialup/linux-atm/Manifest b/net-dialup/linux-atm/Manifest index b0251583bca8..452505db7e51 100644 --- a/net-dialup/linux-atm/Manifest +++ b/net-dialup/linux-atm/Manifest @@ -14,14 +14,14 @@ MD5 d7dd6d910e147168b4d1204e618f5a79 files/2.4.1-stdlib.patch 1216 RMD160 9fba5d8ec55fa5831198cb91ca704b474f259ad3 files/2.4.1-stdlib.patch 1216 SHA256 36e41ced942e04b6ff174a51bc26a230112c7dc493f1cadb2f9a25e47ea6a17a files/2.4.1-stdlib.patch 1216 DIST linux-atm-2.4.1.tar.gz 711714 RMD160 bee14d7dd0b703d8e17bb6b9a7366408d4509b48 SHA1 244a52e1119c990e87c7918ba3ae67575625e563 SHA256 a812816ee1742bf3bf8977a391b369a7351f54a1917dc90b27e666679dd1742a -EBUILD linux-atm-2.4.1-r1.ebuild 1315 RMD160 7a45befa2487dfe0d3425f5ca8d6558a4193d88b SHA1 76502762558c3bde8af3e7a894710e14bebcf954 SHA256 bb6c2798b248a03df19cab8c310d767a7156b7210d304c4c836d52bbf9d417fc -MD5 1ca39b81b7090870f2253bd69df86a0d linux-atm-2.4.1-r1.ebuild 1315 -RMD160 7a45befa2487dfe0d3425f5ca8d6558a4193d88b linux-atm-2.4.1-r1.ebuild 1315 -SHA256 bb6c2798b248a03df19cab8c310d767a7156b7210d304c4c836d52bbf9d417fc linux-atm-2.4.1-r1.ebuild 1315 -MISC ChangeLog 2380 RMD160 e1d6bba0f630b203db22c514970733e6f0b1af35 SHA1 88769f7b1bffc898a3491546b09b79ff8d7a231f SHA256 2e39a677801ead82b020786e9076f81de73afae59b3bc4c99c5fc445b3bd2944 -MD5 869f85e54f2cacb5539848a30dbe99a8 ChangeLog 2380 -RMD160 e1d6bba0f630b203db22c514970733e6f0b1af35 ChangeLog 2380 -SHA256 2e39a677801ead82b020786e9076f81de73afae59b3bc4c99c5fc445b3bd2944 ChangeLog 2380 +EBUILD linux-atm-2.4.1-r1.ebuild 1261 RMD160 34952f5b8a09aff7ccffc874875fbb4a4cc562ad SHA1 4ef54f634f8de139d20360754a843c6215bbfdb6 SHA256 9baf3d13a251ad11683359ea5d20b6752fef59ed53dcd71e1c104a6bafc67b2d +MD5 45eeb7cdcbaf27eeb64dfc8921c3a2a1 linux-atm-2.4.1-r1.ebuild 1261 +RMD160 34952f5b8a09aff7ccffc874875fbb4a4cc562ad linux-atm-2.4.1-r1.ebuild 1261 +SHA256 9baf3d13a251ad11683359ea5d20b6752fef59ed53dcd71e1c104a6bafc67b2d linux-atm-2.4.1-r1.ebuild 1261 +MISC ChangeLog 2531 RMD160 8c8df7a32fc6ea94fdd4996ecc4a386e029893dd SHA1 5c67605cc67458fe02cf233573b715fa5cc10846 SHA256 95924cec50fd4e8b191f87dd467a7e020f9483cdba17b3b0dd875ead25e2d123 +MD5 5af7508441f03de99ca127d50b809bac ChangeLog 2531 +RMD160 8c8df7a32fc6ea94fdd4996ecc4a386e029893dd ChangeLog 2531 +SHA256 95924cec50fd4e8b191f87dd467a7e020f9483cdba17b3b0dd875ead25e2d123 ChangeLog 2531 MISC metadata.xml 221 RMD160 0d4170fa2da5d71ad91305834619992920225f35 SHA1 cca29f168616ccb67147f7e447f466d62e4670bb SHA256 8a2d028dbf3e99f156adfb113f4a8bb8bba39472e338c58da3f018f939a50e23 MD5 aca8fbd1d23180a4c3434d1ca7f812e1 metadata.xml 221 RMD160 0d4170fa2da5d71ad91305834619992920225f35 metadata.xml 221 @@ -30,9 +30,9 @@ MD5 d25c4d5839204e320387bf5c69986a3d files/digest-linux-atm-2.4.1-r1 247 RMD160 772aa7628394a519dd1312c193ae4a95bcaf454e files/digest-linux-atm-2.4.1-r1 247 SHA256 6aee0fc958a00736bafe8dae55bb330427815b0d9fc866eb56fca24b94701e15 files/digest-linux-atm-2.4.1-r1 247 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFFPxw3sf9c6kjmR8RAmYrAJ95Y5btvV6MEtHnidCgrlwYXRmyrgCcDZ4Y -UBoIFGmQby7pERsl5jjyeyc= -=3fz7 +iD8DBQFFm+D58bi6rjpTunYRAvt+AKCBRuzlmLyl2InXQ3GxrXwBWY/ilQCeIL4w +G0K/QySyFXpBIZDBsQrCMko= +=+izC -----END PGP SIGNATURE----- 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* -- 2.26.2