Control: tags -1 patch -- On Wed, Feb 12, 2025 at 12:16:15PM +0000, Sudip Mukherjee wrote: > Source: belr > Version: 5.1.64-2 > Severity: serious > Tags: ftbfs > X-Debbugs-Cc: sudipm.mukher...@gmail.com > > Dear Maintainer, > > belr fails to build with the error:
The attached patch will fix the build. -- Regards Sudip
diff -Nru belr-5.2.0/debian/changelog belr-5.2.0/debian/changelog --- belr-5.2.0/debian/changelog 2023-07-28 21:35:16.000000000 +0100 +++ belr-5.2.0/debian/changelog 2025-02-15 11:12:26.000000000 +0000 @@ -1,3 +1,10 @@ +belr (5.2.0-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix bctoolbox packagename in CMake. + + -- Sudip Mukherjee <sudipm.mukher...@gmail.com> Sat, 15 Feb 2025 11:12:26 +0000 + belr (5.2.0-2) unstable; urgency=medium * Upload to unstable. diff -Nru belr-5.2.0/debian/patches/fix-bctoolbox-cmake.patch belr-5.2.0/debian/patches/fix-bctoolbox-cmake.patch --- belr-5.2.0/debian/patches/fix-bctoolbox-cmake.patch 1970-01-01 01:00:00.000000000 +0100 +++ belr-5.2.0/debian/patches/fix-bctoolbox-cmake.patch 2025-02-15 11:12:26.000000000 +0000 @@ -0,0 +1,17 @@ +Description: Fix bctoolbox PackageName that cmake uses + +Origin: backport, https://gitlab.linphone.org/BC/public/belr/-/commit/c3c362fdd8037b73f1c44c0802c4979a0f88a93b +Last-Update: 2025-02-12 +--- + +--- belr-5.2.0.orig/CMakeLists.txt ++++ belr-5.2.0/CMakeLists.txt +@@ -63,7 +63,7 @@ endif() + # find_package should be invoked here to check for libraries - however do NOT + # call include_directories here (see below) + if(NOT DISABLE_BC_PACKAGE_SEARCH) +- find_package(bctoolbox 0.0.5 REQUIRED OPTIONAL_COMPONENTS tester) ++ find_package(BCToolbox 5.3.0 REQUIRED OPTIONAL_COMPONENTS tester) + endif() + + set(LINK_FLAGS ) diff -Nru belr-5.2.0/debian/patches/series belr-5.2.0/debian/patches/series --- belr-5.2.0/debian/patches/series 2023-07-28 21:35:16.000000000 +0100 +++ belr-5.2.0/debian/patches/series 2025-02-15 11:12:26.000000000 +0000 @@ -1,2 +1,3 @@ define-project-version.patch 0001-Add-missing-pkgconfig-file.patch +fix-bctoolbox-cmake.patch