Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49945 - fcpci-03.11.02.ebuild (Update)
Summary: fcpci-03.11.02.ebuild (Update)
Status: RESOLVED DUPLICATE of bug 50716
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 02:00 UTC by Ben
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New ebuild to patch the defs.h (fcpci-03.11.02.ebuild,1.14 KB, text/plain)
2004-05-04 02:02 UTC, Ben
Details
Patch for the defs.h to compile with kernel 2.4.26 (defs.h.patch,326 bytes, patch)
2004-05-04 02:03 UTC, Ben
Details | Diff
New ebuild to compile the fcpci module (fcpci-03.11.02.ebuild,1.19 KB, patch)
2004-05-05 06:24 UTC, Ben
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben 2004-05-04 02:00:52 UTC
Didnt compile against kernel 2.4.26. Patched the defs.h file to compile again. Finde all changed files attached.
Comment 1 Ben 2004-05-04 02:02:24 UTC
Created attachment 30682 [details]
New ebuild to patch the defs.h
Comment 2 Ben 2004-05-04 02:03:10 UTC
Created attachment 30683 [details, diff]
Patch for the defs.h to compile with kernel 2.4.26
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2004-05-05 04:06:19 UTC
The patch works for me. (Without it doesn't compile.)
I changed the ebuild to use:

inherit eutils flag-o-matic kernel-mod

and

epatch ${FILESDIR}/defs.h.patch
Comment 4 Ben 2004-05-05 06:24:15 UTC
Created attachment 30773 [details, diff]
New ebuild to compile the fcpci module

Bevor it might compile but the module wont load. This should be fixed now.
Comment 5 Ben 2004-05-05 06:26:05 UTC
Comment on attachment 30773 [details, diff]
New ebuild to compile the fcpci module

Added a line to actually make things work. Bevor it might compile but the
module wont load. Thx to tove
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2004-05-05 07:03:12 UTC
Benjamin,

i hope i didn't confuse you. 

1)
"inherit" should be in nearly all cases the first line in an ebuild. You should have read my comment as: substitute in line 4 "inherit flag-o-matic kernel-mod" with "inherit eutils flag-o-matic kernel-mod".

2)
The src_unpack function looks like this in my ebuild (i only replaced your "patch -p1 <${FILESDIR}/defs.h.patch" with "epatch ${FILESDIR}/defs.h.patch".

|        unpack ${A}
|        cd ${S}
|        epatch ${FILESDIR}/defs.h.patch
|        sed -i -e "s/\`uname -r\`/${KV_VERSION_FULL}/" \

Maybe a dev wants to tell me that this is not necessary at all?

3)
You write "Added a line to actually make things work. Bevor it might compile but the module wont load." 
Your first ebuild works for me and the fcpci.o does load.
Comment 7 Daniel Black (RETIRED) gentoo-dev 2004-09-27 03:08:22 UTC
Will be fixed in bug 50716

*** This bug has been marked as a duplicate of 50716 ***
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2004-10-21 23:44:13 UTC
please reopen -- as #29667 says fcpci in the tree is broken.