Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 32935 Details for
Bug 32737
Compiling external kernel modules with 2.6 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for net-dialup/slmodem-2.9.7
slmodem-2.9.7-r2.patch (text/plain), 1.88 KB, created by
Henrik Brix Andersen
on 2004-06-08 12:24:08 UTC
(
hide
)
Description:
Patch for net-dialup/slmodem-2.9.7
Filename:
MIME Type:
Creator:
Henrik Brix Andersen
Created:
2004-06-08 12:24:08 UTC
Size:
1.88 KB
patch
obsolete
>--- /usr/portage/net-dialup/slmodem/slmodem-2.9.7-r1.ebuild 2004-06-05 14:11:00.000000000 +0200 >+++ /usr/local/portage/net-dialup/slmodem/slmodem-2.9.7-r2.ebuild 2004-06-08 21:20:37.381967112 +0200 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/slmodem-2.9.7-r1.ebuild,v 1.3 2004/06/05 12:11:00 dragonheart Exp $ > >-inherit eutils >+inherit eutils kmod > > DESCRIPTION="Driver for Smart Link modem" > HOMEPAGE="http://www.smlink.com/" >@@ -13,20 +13,25 @@ > KEYWORDS="~x86" > IUSE="alsa" > RDEPEND="virtual/glibc" >+DEPEND="sys-apps/sed" > S="${WORKDIR}/${MY_P}" > > src_unpack() { > unpack ${A} > epatch ${FILESDIR}/${P}-makefile-fixup.patch >-} > >-src_compile() { >- if has sandbox ${FEATURES} || has userpriv ${FEATURES} || has usersandbox ${FEATURES}; then >- ewarn "Users emerging this with a 2.6 kernel still need to disable" >- ewarn "sandbox, usersandbox, userpriv from FEATURES." >+ if is_kernel 2 6 && [ "${KV_PATCH}" -ge 6 ]; then >+ einfo "Patching drivers/Makefile for kernel 2.6.6 and above" >+ sed -i -e "s:SUBDIRS=:M=:" ${S}/drivers/Makefile >+ elif has sandbox ${FEATURES} || has userpriv ${FEATURES} || has usersandbox ${FEATURES}; then >+ ewarn "Users emerging this with a 2.6 kernel earlier than 2.6.6 still" >+ ewarn "need to disable sandbox, usersandbox, userpriv from FEATURES." > einfo 'use: env FEATURES="-userpriv -usersandbox -sandbox" emerge slmodem' > die "bad FEATURES - sandbox, usersandbox and/or userpriv " > fi >+} >+ >+src_compile() { > unset ARCH > if use alsa ; then > emake SUPPORT_ALSA=1 MODVERDIR=${T}/.tmp_versions || die 'Alsa support failed, try USE="-alsa"' >@@ -97,5 +102,6 @@ > fi > > echo >- einfo "You must edit /etc/conf.d/${PN} for your configuration" >+ einfo "You must edit /etc/conf.d/${PN} for your configuration." >+ einfo "Please study the supplied README file for further instructions." > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 32737
:
23927
|
24094
|
24095
|
24096
|
24131
|
24646
|
24647
|
24649
|
24650
|
24651
|
25235
|
25237
|
25238
|
25239
|
25279
|
25280
|
25281
|
25282
|
25283
|
25363
|
25453
|
25454
|
25497
|
26588
|
26635
|
26643
|
27538
|
30030
|
31314
|
31315
|
31317
|
31345
|
31346
|
31347
|
32935
|
33123
|
33124
|
33125
|
33356
|
36615