| Summary: | fcpci-03.11.02.ebuild (Update) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Ben <schleinzer> |
| Component: | New packages | Assignee: | Gentoo Dialup Developers <net-dialup> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | enhancement | CC: | schleinzer |
| Priority: | High | ||
| Version: | 2004.1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
New ebuild to patch the defs.h
Patch for the defs.h to compile with kernel 2.4.26 New ebuild to compile the fcpci module |
||
|
Description
Ben
2004-05-04 02:00:52 UTC
Created attachment 30682 [details]
New ebuild to patch the defs.h
Created attachment 30683 [details, diff]
Patch for the defs.h to compile with kernel 2.4.26
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
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 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
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.
please reopen -- as #29667 says fcpci in the tree is broken. |