Control: tags 1128152 + patch
Control: tags 1128152 + pending

Dear maintainer,

I've prepared an NMU for unilog (versioned as 2.5-2.1) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for unilog-2.5 unilog-2.5

 changelog               |    7 +++++++
 patches/boost1.90.patch |   20 ++++++++++++++++++++
 patches/series          |    1 +
 3 files changed, 28 insertions(+)

diff -Nru unilog-2.5/debian/changelog unilog-2.5/debian/changelog
--- unilog-2.5/debian/changelog	2022-08-04 04:46:32.000000000 +0300
+++ unilog-2.5/debian/changelog	2026-03-23 11:46:49.000000000 +0200
@@ -1,3 +1,10 @@
+unilog (2.5-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Boost 1.90. (Closes: #1128152)
+
+ -- Adrian Bunk <[email protected]>  Mon, 23 Mar 2026 11:46:49 +0200
+
 unilog (2.5-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru unilog-2.5/debian/patches/boost1.90.patch unilog-2.5/debian/patches/boost1.90.patch
--- unilog-2.5/debian/patches/boost1.90.patch	1970-01-01 02:00:00.000000000 +0200
+++ unilog-2.5/debian/patches/boost1.90.patch	2026-03-23 11:46:49.000000000 +0200
@@ -0,0 +1,20 @@
+Description: Fix FTBFS with Boost >= 1.89
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1128152
+
+--- unilog-2.5.orig/src/CMakeLists.txt
++++ unilog-2.5/src/CMakeLists.txt
+@@ -26,11 +26,11 @@ target_include_directories(${PROJECT_NAM
+   $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
+   $<INSTALL_INTERFACE:include>
+ )
+-find_package(Boost COMPONENTS system filesystem REQUIRED)
++find_package(Boost COMPONENTS filesystem REQUIRED)
+ # for MSVC we must add it into LIBPATH even the lib file is full path.
+ target_link_directories(${PROJECT_NAME} PRIVATE "${Boost_LIBRARY_DIRS}")
+ target_link_libraries(${PROJECT_NAME} 
+-  PRIVATE Boost::system Boost::filesystem
++  PRIVATE Boost::filesystem
+   PUBLIC glog::glog)
+   # Enable Export of public APIs
+ target_compile_definitions(${PROJECT_NAME} PRIVATE -DUNILOG_EXPORT)
diff -Nru unilog-2.5/debian/patches/series unilog-2.5/debian/patches/series
--- unilog-2.5/debian/patches/series	2022-08-04 04:46:32.000000000 +0300
+++ unilog-2.5/debian/patches/series	2026-03-23 11:46:49.000000000 +0200
@@ -1,3 +1,4 @@
 0001-Fix-install-path-for-libraries.patch
 0002-Add-support-static-build.patch
 0003-Change-install-path-of-cmake-files.patch
+boost1.90.patch

Reply via email to