Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 156938

Summary: net-dialup/ltmodem fails to compile on kernels>=2.6.19
Product: Gentoo Linux Reporter: Arthur Nascimento <tureba>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Low    
Version: 2006.1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 156669    
Attachments: fix for ltmodem to compile on all kernels
fix for ltmodem to compile on all kernels

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.