From f0d7b6b8e96c777b6b7823e8cfe85a76082f1cb8 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 29 Sep 2024 09:46:31 -0400 Subject: [PATCH] xmlrpc_c: 1.51.07 -> 1.59.03, enable parallel building --- pkgs/development/libraries/xmlrpc-c/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/libraries/xmlrpc-c/default.nix b/pkgs/development/libraries/xmlrpc-c/default.nix index af73a81fcb20..04dea6f59fce 100644 --- a/pkgs/development/libraries/xmlrpc-c/default.nix +++ b/pkgs/development/libraries/xmlrpc-c/default.nix @@ -2,11 +2,11 @@ stdenv.mkDerivation rec { pname = "xmlrpc-c"; - version = "1.51.07"; + version = "1.59.03"; src = fetchurl { url = "mirror://sourceforge/xmlrpc-c/${pname}-${version}.tgz"; - sha256 = "sha256-hNIK4z+SdYL4IdYcC5GUrvvx15JFkKE/qdpa4WmK3tk="; + hash = "sha256-vbcdtCqwvlFZFVWIXRFoKwRMEDTUoylkAb+SHsCyM/4="; }; buildInputs = [ curl libxml2 ]; @@ -20,7 +20,10 @@ stdenv.mkDerivation rec { (cd tools/xmlrpc && make && make install) ''; - hardeningDisable = [ "format" ]; + enableParallelBuilding = true; + + # ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isClang "-Wno-error=implicit-function-declaration"; meta = with lib; { description = "Lightweight RPC library based on XML and HTTP";