Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 10704 Details for
Bug 18594
pcmcia-cs-3.2.3-r2 will not compile with development-sources 2.5.66
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix for pcmcia-cs
pcmcia-cs.diff (text/plain), 2.00 KB, created by
Dominik Brodowski
on 2003-04-15 18:38:14 UTC
(
hide
)
Description:
fix for pcmcia-cs
Filename:
MIME Type:
Creator:
Dominik Brodowski
Created:
2003-04-15 18:38:14 UTC
Size:
2.00 KB
patch
obsolete
>--- Configure >+++ Configure >@@ -884,30 +884,34 @@ > > # Check out the module stuff > >-if [ ! -x /sbin/insmod -o ! -x /sbin/rmmod -o ! -x /sbin/lsmod ] ; then >- echo "Your module utilities (insmod, rmmod) are missing from /sbin!" >- echo " To fix, you should build and install the latest set" \ >- "of module tools," >- echo " available from FTP sites listed in the HOWTO." >- fail >-fi >- >-MOD_RELEASE=`/sbin/insmod -V 2>&1 | \ >- sed -n -e 's/.*[Vv]ersion \([0-9][0-9.]*[0-9]\).*/\1/p'` >-X=`echo $MOD_RELEASE | sed -e 's/\./ /g'` >-MOD_CODE=`version $X` >-if [ $VERSION_CODE -ge `version 2 1 85` ] ; then >- NEED=`version 2 1 85` ; T=2.1.85 >-elif [ $VERSION_CODE -ge `version 2 1 18` ] ; then >- NEED=`version 2 1 23` ; T=2.1.23 >-else >- NEED=`version 2 0 0` ; T=2.0.0 >-fi >+if [ "$CONFIG_PCMCIA" != "y" ] ; then >+ >+ if [ ! -x /sbin/insmod -o ! -x /sbin/rmmod -o ! -x /sbin/lsmod ] ; then >+ echo "Your module utilities (insmod, rmmod) are missing from /sbin!" >+ echo " To fix, you should build and install the latest set" \ >+ "of module tools," >+ echo " available from FTP sites listed in the HOWTO." >+ fail >+ fi >+ >+ MOD_RELEASE=`/sbin/insmod -V 2>&1 | \ >+ sed -n -e 's/.*[Vv]ersion \([0-9][0-9.]*[0-9]\).*/\1/p'` >+ X=`echo $MOD_RELEASE | sed -e 's/\./ /g'` >+ MOD_CODE=`version $X` >+ if [ $VERSION_CODE -ge `version 2 1 85` ] ; then >+ NEED=`version 2 1 85` ; T=2.1.85 >+ elif [ $VERSION_CODE -ge `version 2 1 18` ] ; then >+ NEED=`version 2 1 23` ; T=2.1.23 >+ else >+ NEED=`version 2 0 0` ; T=2.0.0 >+ fi >+ >+ if [ "$NEED" -gt "$MOD_CODE" ] ; then >+ echo "Your module utilities are version $MOD_RELEASE. That is too old" >+ echo " for this kernel! To fix, upgrade to at least version $T." >+ fail >+ fi > >-if [ $NEED -gt $MOD_CODE ] ; then >- echo "Your module utilities are version $MOD_RELEASE. That is too old" >- echo " for this kernel! To fix, upgrade to at least version $T." >- fail > fi > > #=======================================================================
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 18594
: 10704 |
10705