iproute: don't compile with -Werror

lnstat.c:169:30: error: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Werror=sizeof-pointer-memaccess]
     memset(th.hdr[i], 0, sizeof(th.hdr[i]));
                                ^
  cc1: all warnings being treated as errors
  make[1]: *** [lnstat.o] Error 1
This commit is contained in:
Peter Simons
2013-04-07 23:33:20 +02:00
parent c976480a01
commit 9608d80c73
2 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
sha256 = "0kqy30wz2krbg4y7750hjq5218hgy2vj9pm5qzkn1bqskxs4b4ap";
};
patches = [ ./vpnc.patch ];
patches = [ ./vpnc.patch ./no-werror.patch ];
preConfigure =
''