summary refs log tree commit diff
path: root/gnu/packages/linphone.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-04-06 19:43:56 +0200
committerRicardo Wurmus <rekado@elephly.net>2023-04-08 20:05:05 +0200
commitd89d28298c85c43167c7fc4c6ceb5c99de2fb634 (patch)
treea846a1d26a084d500493d3a8717da3b62f7a1a2e /gnu/packages/linphone.scm
parent724acd6b9c0f7ab6540b7444950e9ded03fd7c54 (diff)
downloadguix-d89d28298c85c43167c7fc4c6ceb5c99de2fb634.tar.gz
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.
Diffstat (limited to 'gnu/packages/linphone.scm')
-rw-r--r--gnu/packages/linphone.scm11
1 files 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 @@ writing, administering, and running unit tests in C.")
 (define-public bctoolbox
   (package
     (name "bctoolbox")
-    (version "4.4.34")
+    (version "5.2.49")
     (source
      (origin
        (method git-fetch)
@@ -140,11 +140,14 @@ writing, administering, and running unit tests in C.")
              (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 @@ writing, administering, and running unit tests in C.")
            (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 _