mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
network-manager & plugins: no longer remove -Werror and friends
Code using deprecated APIs has been removed See comment by @dkosovic on the matter: https://github.com/xelerance/xl2tpd/issues/108#issuecomment-227621314
This commit is contained in:
parent
2cf9b5a6c0
commit
a9e995d679
@ -32,8 +32,6 @@ stdenv.mkDerivation rec {
|
||||
configureFlags =
|
||||
if withGnome then "--with-gnome" else "--without-gnome";
|
||||
|
||||
postConfigure = "sed 's/-Werror//g' -i Makefile */Makefile";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "L2TP plugin for NetworkManager";
|
||||
inherit (networkmanager.meta) platforms;
|
||||
|
@ -29,15 +29,6 @@ stdenv.mkDerivation rec {
|
||||
--replace "/sbin/modprobe" "${kmod}/sbin/modprobe"
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace "./auth-dialog/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
substituteInPlace "properties/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "NetworkManager's OpenConnect plugin";
|
||||
inherit (networkmanager.meta) maintainers platforms;
|
||||
|
@ -33,15 +33,6 @@ stdenv.mkDerivation rec {
|
||||
--replace "/sbin/openvpn" "${openvpn}/sbin/openvpn"
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace "./auth-dialog/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
substituteInPlace "properties/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "NetworkManager's OpenVPN plugin";
|
||||
inherit (networkmanager.meta) maintainers platforms;
|
||||
|
@ -28,8 +28,6 @@ stdenv.mkDerivation rec {
|
||||
configureFlags =
|
||||
if withGnome then "--with-gnome --with-gtkver=3" else "--without-gnome";
|
||||
|
||||
postConfigure = "sed 's/-Werror//g' -i Makefile */Makefile";
|
||||
|
||||
meta = {
|
||||
description = "PPtP plugin for NetworkManager";
|
||||
inherit (networkmanager.meta) maintainers platforms;
|
||||
|
@ -30,15 +30,6 @@ stdenv.mkDerivation rec {
|
||||
--replace "/sbin/modprobe" "${kmod}/sbin/modprobe"
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
substituteInPlace "./auth-dialog/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
substituteInPlace "properties/Makefile" \
|
||||
--replace "-Wstrict-prototypes" "" \
|
||||
--replace "-Werror" ""
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "NetworkManager's VPNC plugin";
|
||||
inherit (networkmanager.meta) maintainers platforms;
|
||||
|
Loading…
Reference in New Issue
Block a user