ppp: enable ipv6 support

networkmanager requires pppd to have ipv6 support for managing mobile
connections since version 0.9.5.95, ref. to commit 7575f4d.
This commit is contained in:
Jonas Hoersch 2013-06-11 01:07:06 +02:00
parent 823765e305
commit b39a6ef532

View File

@ -18,7 +18,12 @@ stdenv.mkDerivation rec {
./nonpriv.patch
];
postPatch = "rm -v include/linux/if_pppol2tp.h";
postPatch = ''
# enable ipv6
substituteInPlace pppd/Makefile.linux \
--replace "#HAVE_INET6=y" "HAVE_INET6=y"
rm -v include/linux/if_pppol2tp.h
'';
buildInputs = [ libpcap ];