pppd: fix build with 3.5+ kernel headers
authorPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 06:59:56 +0000 (08:59 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 11 Sep 2012 06:59:56 +0000 (08:59 +0200)
commit94ce13a56f238bbba01bdfc893cfbc4e62169287
treeab737126d3df66e7888ca1aa1409f8eba1382ec4
parent0cf33385468889c7ec1ddbdae2c81ecabc4f9584
pppd: fix build with 3.5+ kernel headers

Fixes http://autobuild.buildroot.net/results/8a9369fece696e012249b865708ffee533c5318a

Pppd bundles some, but not all needed kernel headers. In Linux 3.5 (and
before that 2.6.35) if_pppol2tp.h was changed, so the embedded copy was no
longer compatible.

if_pppol2tp.h has been part of the exported kernel headers since 2.6.23, so
simply drop the bundled copy and use the kernel headers instead, similar
to how it is done in Gentoo:

https://bugs.gentoo.org/show_bug.cgi?id=427684

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/pppd/pppd-2.4.5-ol2tpv3-2.6.35.patch [deleted file]
package/pppd/pppd.mk