From d89d28298c85c43167c7fc4c6ceb5c99de2fb634 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 6 Apr 2023 19:43:56 +0200 Subject: [PATCH] gnu: bctoolbox: Update to 5.2.49. * gnu/packages/linphone.scm (bctoolbox): Update to 5.2.49. [arguments]: Add ENABLE_STRICT=OFF to configure flags; adjust patching of tests. --- gnu/packages/linphone.scm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm index bf6b65dc42..fe03c321e3 100644 --- a/gnu/packages/linphone.scm +++ b/gnu/packages/linphone.scm @@ -131,7 +131,7 @@ (define-public bcunit (define-public bctoolbox (package (name "bctoolbox") - (version "4.4.34") + (version "5.2.49") (source (origin (method git-fetch) @@ -140,11 +140,14 @@ (define-public bctoolbox (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "0bfswwvvdshaahg4jd2j10f0sci8809s4khajd0m6b059zwc7y25")))) + (base32 "0b51308jy5z32gp594r78jvbyrha16sanxdnbcmxgrwnb4myqx5j")))) (build-system cmake-build-system) (outputs '("out" "debug")) (arguments - `(#:configure-flags '("-DENABLE_STATIC=OFF") + `(#:configure-flags (list "-DENABLE_STATIC=OFF" + ;; Do not use -Werror, because due to skipping + ;; a test there are unused procedures. + "-DENABLE_STRICT=OFF") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-cmake @@ -163,7 +166,7 @@ (define-public bctoolbox (lambda _ ;; The following test relies on networking; disable it. (substitute* "tester/port.c" - (("[ \t]*TEST_NO_TAG.*bctbx_addrinfo_sort_test\\)") + (("[ \t]*TEST_NO_TAG.*bctbx_addrinfo_sort_test\\),") "")))) (add-after 'unpack 'fix-installed-resource-directory-detection (lambda _