network-manager/l2tp: add workaround for https://github.com/xelerance/xl2tpd/issues/108

This commit is contained in:
obadz 2016-06-20 20:56:27 +01:00
parent cbb0effa6e
commit c8d3b166f5

View file

@ -33,6 +33,11 @@ stdenv.mkDerivation rec {
})
];
# Workaround https://github.com/xelerance/xl2tpd/issues/108
postPatch = ''
substituteInPlace ./src/nm-l2tp-service.c --replace 'write_config_option (pppopt_fd, "lock\n");' ""
'';
meta = with stdenv.lib; {
description = "L2TP plugin for NetworkManager";
inherit (networkmanager.meta) platforms;