net-dialup/linux-atm-2.4.1-r1.ebuild fails to build with gcc-4.x (specifically, I've tested it with gcc-4.0.1). I'm going to attach 3 things here: 1) Proposed linux-atm-2.4.1-r1.ebuild -> linux-atm-2.4.1-r2.ebuild diff 2) 2.4.1-gcc4.patch 3) 2.4.1-stdlib.patch The patches are lifted from Fedora Core 4. The result is as follows: * Slightly more explanatory ebuild * gcc-4.x compilation errors are fully corrected * Missing includes for <stdlib.h> added for the strtol prototype which is used in sigd/cfg_y.y (in the linux-atm source code) The ebuild features keywords for all the arches mentioned in the previous ebuild revision. However, they have all been ~arch keyworded. Please commit!
Created attachment 63944 [details, diff] linux-atm-2.4.1-r1.ebuild -> linux-atm-2.4.1-r2.ebuild (patch)
Created attachment 63946 [details, diff] files/2.4.1-gcc4.patch Identical to "linux-atm-2.5.0-gcc4.patch" In the Fedora Core 4 package.
Created attachment 63947 [details, diff] files/2.4.1-stdlib.patch Identical to "linux-atm-2.5.0-stdlib.patch" in the Fedora Core 4 package.
Note also that, although the original patches were against a 2.5 snapshot, they work fine here. The only reason Fedora updated to a CVS snapshot was to acquire bridging RFC2684 functionality. Looks like it will be a while before 2.5 goes gold so I think this should be committed in the meantime.
Created attachment 63962 [details, diff] linux-atm-2.4.1-r1.ebuild -> linux-atm-2.4.1-r2.ebuild (patch) Missing epatch statement in the previous attachment (doh).
fixed without revision bumping. no need to bump since this doesn't do anything else except fixing compilation problems on gcc-4. thanks.