bip: drop blanket -Werror

Without the change the build fails on `master` as
https://hydra.nixos.org/build/249146359:

In function 'array_count',
inlined from 'irc_line_free' at line.c:220:18:
util.h:206:17: error: null pointer dereference [-Werror=null-dereference]
206 | return a->elemc;
| ~^~~~~~~

Instead of disabling another warning let's drop blanket `-Werror`.
While at it enabled parallel builds by default.

+10 -6
+10 -6
pkgs/applications/networking/irc/bip/default.nix
··· 1 { lib 2 , stdenv 3 , fetchurl 4 , pkg-config 5 - , autoconf 6 - , automake 7 , bison 8 , flex 9 , openssl ··· 21 22 outputs = [ "out" "man" "doc" ]; 23 24 - nativeBuildInputs = [ pkg-config autoconf automake ]; 25 buildInputs = [ bison flex openssl ]; 26 27 - # FIXME: Openssl3 deprecated PEM_read_DHparams and DH_free 28 - # https://projects.duckcorp.org/issues/780 29 - env.NIX_CFLAGS_COMPILE = "-Wno-error=deprecated-declarations"; 30 31 meta = { 32 description = "An IRC proxy (bouncer)";
··· 1 { lib 2 , stdenv 3 , fetchurl 4 + , autoreconfHook 5 , pkg-config 6 , bison 7 , flex 8 , openssl ··· 20 21 outputs = [ "out" "man" "doc" ]; 22 23 + postPatch = '' 24 + # Drop blanket -Werror to avoid build failure on fresh toolchains 25 + # and libraries. Without the cnage build fails on gcc-13 and on 26 + # openssl-3. 27 + substituteInPlace src/Makefile.am --replace-fail ' -Werror ' ' ' 28 + ''; 29 + 30 + nativeBuildInputs = [ autoreconfHook pkg-config ]; 31 buildInputs = [ bison flex openssl ]; 32 33 + enableParallelBuilding = true; 34 35 meta = { 36 description = "An IRC proxy (bouncer)";