From ffc10633080ecf31c5270e4bd1cacecf1f1efca5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alin=20N=C4=83stac?= Date: Tue, 5 Dec 2006 21:19:15 +0000 Subject: [PATCH] Fix broken compilation against kernel 2.6.19 (#157230). Move patches to distfiles mirrors. Package-Manager: portage-2.1.1-r1 --- net-dialup/bewan-adsl/ChangeLog | 9 ++++++++- net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild | 11 ++++++----- .../bewan-adsl/files/digest-bewan-adsl-0.9.3-r2 | 3 +++ 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/net-dialup/bewan-adsl/ChangeLog b/net-dialup/bewan-adsl/ChangeLog index 427890aecc12..b053a17db1c9 100644 --- a/net-dialup/bewan-adsl/ChangeLog +++ b/net-dialup/bewan-adsl/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dialup/bewan-adsl # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.15 2006/11/18 07:42:46 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/ChangeLog,v 1.16 2006/12/05 21:19:15 mrness Exp $ + + 05 Dec 2006; Alin Năstac + -files/bewan-adsl-0.9.3-kernel-2.6.18.patch, + -files/bewan-adsl-0.9.3-no-strip.patch, -files/bewan-adsl-0.9.3-smp.patch, + bewan-adsl-0.9.3-r2.ebuild: + Fix broken compilation against kernel 2.6.19 (#157230). Move patches to + distfiles mirrors. 18 Nov 2006; Alin Nastac -files/bewan-adsl-0.9.3-kernel-2.6.17.patch, -bewan-adsl-0.9.3-r1.ebuild: diff --git a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild index 4627cb6d1e0f..952a9a553063 100644 --- a/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild +++ b/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild @@ -1,11 +1,12 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.2 2006/10/20 19:46:41 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/bewan-adsl/bewan-adsl-0.9.3-r2.ebuild,v 1.3 2006/12/05 21:19:15 mrness Exp $ inherit eutils linux-mod DESCRIPTION="Bewan ADSL PCI&USB st driver" -SRC_URI="http://www.bewan.com/bewan/drivers/A1012-A1006-A904-A888-A983-${PV}.tgz" +SRC_URI="http://www.bewan.com/bewan/drivers/A1012-A1006-A904-A888-A983-${PV}.tgz + mirror://gentoo/${P}-patches-20061205.tar.gz" HOMEPAGE="http://www.bewan.com/" LICENSE="GPL-2" @@ -38,14 +39,14 @@ src_unpack() { cd "${S}" # Fix "unresolved symbol set_cpus_allowed" on SMP kernels (#122103) # Upstream consider actual version to be thread safe - epatch "${FILESDIR}/${P}-smp.patch" + epatch "${WORKDIR}/patches/${P}-smp.patch" local f for f in msw/*.cpp amu/*.cpp ; do mv ${f} ${f%pp} done - epatch "${FILESDIR}/${P}-kernel-2.6.18.patch" - epatch "${FILESDIR}/${P}-no-strip.patch" + epatch "${WORKDIR}/patches/${P}-kernel-changes.patch" + epatch "${WORKDIR}/patches/${P}-no-strip.patch" # Declare desired COPTIONS in the Makefile for the PCI module use kt400 && sed -i 's/^\(COPTIONS *= *\)/\1 -DKT400/g' "${PCI_S}/Makefile" diff --git a/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r2 b/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r2 index 668a91292416..f915b274fb83 100644 --- a/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r2 +++ b/net-dialup/bewan-adsl/files/digest-bewan-adsl-0.9.3-r2 @@ -1,3 +1,6 @@ MD5 ff9829f03168279a079d05aea780ee99 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291 RMD160 50cd3201b05e931e541bd9a2dc4711c1ac044ec8 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291 SHA256 48a789f7ef026248a4a666ff5da952ef458d1a1ae7a7bc162a6d01e0ac38a954 A1012-A1006-A904-A888-A983-0.9.3.tgz 1176291 +MD5 5d3936fcb3d4c1a00928cca4a76d0d53 bewan-adsl-0.9.3-patches-20061205.tar.gz 5082 +RMD160 30c2c4488cc3491750c83440f8b15e00ea5f1bd1 bewan-adsl-0.9.3-patches-20061205.tar.gz 5082 +SHA256 26541229ceddc1f8ac682ba876ecab781392ebe3014bb095b0bf7ea9ff794ad4 bewan-adsl-0.9.3-patches-20061205.tar.gz 5082 -- 2.26.2