Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156938 - net-dialup/ltmodem fails to compile on kernels>=2.6.19
Summary: net-dialup/ltmodem fails to compile on kernels>=2.6.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Low normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: kernel-2.6.19
  Show dependency tree
 
Reported: 2006-12-02 12:31 UTC by Arthur Nascimento
Modified: 2006-12-02 23:57 UTC (History)
0 users

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


Attachments
fix for ltmodem to compile on all kernels (ltmodem-2.6-alk-8-kernel-smart-config.patch,352 bytes, patch)
2006-12-02 12:35 UTC, Arthur Nascimento
Details | Diff
fix for ltmodem to compile on all kernels (ltmodem-2.6-alk-8-kernel-smart-config.patch,295 bytes, patch)
2006-12-02 13:19 UTC, Arthur Nascimento
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Nascimento 2006-12-02 12:31:38 UTC
With the removal of linux/config.h from the kernel and the new way of accounting dependencies on the linux kernel (/usr/src/linux/Documentation/smart-config.txt), the drivers for lucent winmodems (net-dialup/ltmodem) stopped compiling as of linux version from 2.6.19 on.
Comment 1 Arthur Nascimento 2006-12-02 12:35:21 UTC
Created attachment 103234 [details, diff]
fix for ltmodem to compile on all kernels

This patch attempts to fix the ltmodem driver to compile correctly with any kernel version. I tested it on gentoo-sources-2.6.18-gentoo-r3 and vanilla-sources-2.6.19. It worked well on both cases.
Comment 2 Arthur Nascimento 2006-12-02 13:19:56 UTC
Created attachment 103237 [details, diff]
fix for ltmodem to compile on all kernels

A simple patch to fix the 2.6.19 linux/config.h regression on net-dialup/ltmodem. Better than the previous one, since there is no need for the backwards compatibility #if (I found out that the smart config thing goes way back as far as the 2.4 tree).
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2006-12-02 23:57:43 UTC
Fixed in cvs (without revision bump) by replacing config.h with autoconf.h.