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.
This commit is contained in:
Ricardo Wurmus 2023-04-06 19:43:56 +02:00
parent 724acd6b9c
commit d89d28298c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -131,7 +131,7 @@ (define-public bcunit
(define-public bctoolbox (define-public bctoolbox
(package (package
(name "bctoolbox") (name "bctoolbox")
(version "4.4.34") (version "5.2.49")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -140,11 +140,14 @@ (define-public bctoolbox
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0bfswwvvdshaahg4jd2j10f0sci8809s4khajd0m6b059zwc7y25")))) (base32 "0b51308jy5z32gp594r78jvbyrha16sanxdnbcmxgrwnb4myqx5j"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(outputs '("out" "debug")) (outputs '("out" "debug"))
(arguments (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 #:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(add-after 'unpack 'patch-cmake (add-after 'unpack 'patch-cmake
@ -163,7 +166,7 @@ (define-public bctoolbox
(lambda _ (lambda _
;; The following test relies on networking; disable it. ;; The following test relies on networking; disable it.
(substitute* "tester/port.c" (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 (add-after 'unpack 'fix-installed-resource-directory-detection
(lambda _ (lambda _