Control: tags -1 patch

I am uploading a NMU with the attached changes.
diff -Nru libosl-0.8.0/debian/changelog libosl-0.8.0/debian/changelog
--- libosl-0.8.0/debian/changelog       2025-10-27 16:08:08.000000000 +0100
+++ libosl-0.8.0/debian/changelog       2026-07-07 18:33:46.000000000 +0200
@@ -1,3 +1,11 @@
+libosl (0.8.0-4.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Use empty install target for arch=all. (Closes: #976483)
+  * Fix ftbfs with boost 1.88 (Closes: #1110596)
+
+ -- Bastian Germann <[email protected]>  Tue, 07 Jul 2026 18:33:46 +0200
+
 libosl (0.8.0-4.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru libosl-0.8.0/debian/patches/0012-fix-boost-build-failure.patch 
libosl-0.8.0/debian/patches/0012-fix-boost-build-failure.patch
--- libosl-0.8.0/debian/patches/0012-fix-boost-build-failure.patch      
1970-01-01 01:00:00.000000000 +0100
+++ libosl-0.8.0/debian/patches/0012-fix-boost-build-failure.patch      
2026-07-07 18:32:08.000000000 +0200
@@ -0,0 +1,79 @@
+From: Gianfranco Costamagna <[email protected]>
+Date: Apr, 13 2026 10:32:03 +0200
+Subject: fix boost build failure
+Bug: https://bugs.debian.org/1110596
+---
+--- libosl-0.8.0.orig/CMakeLists.txt
++++ libosl-0.8.0/CMakeLists.txt
+@@ -85,9 +85,9 @@ include_directories ("${PROJECT_SOURCE_D
+ #set (Boost_USE_STATIC_LIBS ON)
+ set (Boost_USE_MULTITHREADED ON)
+ if (MINGW)
+-  find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization 
iostreams system)
++  find_package (Boost 1.54.0 COMPONENTS date_time filesystem serialization 
iostreams)
+ else()
+-  find_package (Boost COMPONENTS date_time filesystem serialization iostreams 
system)
++  find_package (Boost COMPONENTS date_time filesystem serialization iostreams)
+ endif()
+ if (Boost_FOUND)
+   include_directories (${Boost_INCLUDE_DIRS})
+--- libosl-0.8.0.orig/sample/record/checkmate-kisen.cc
++++ libosl-0.8.0/sample/record/checkmate-kisen.cc
+@@ -12,7 +12,7 @@
+ #include <boost/accumulators/statistics/mean.hpp>
+ #include <boost/accumulators/statistics/max.hpp>
+ #include <boost/program_options.hpp>
+-#include <boost/filesystem/convenience.hpp>
++#include <boost/filesystem.hpp>
+ #include <boost/format.hpp>
+ #include <queue>
+ #include <future>
+@@ -87,7 +87,7 @@ static void convert(const std::vector<st
+   if (output_ipx)
+   {
+     const boost::filesystem::path ipx_path =
+-      
boost::filesystem::change_extension(boost::filesystem::path(output_kisen_filename),
 ".ipx");
++      
boost::filesystem::path(output_kisen_filename).replace_extension(".ipx");
+     const std::string ipx = osl::misc::file_string(ipx_path);
+     ipx_ofs.reset(new std::ofstream(ipx.c_str()));
+     ipx_writer.reset(new osl::record::KisenIpxWriter(*ipx_ofs));
+--- libosl-0.8.0.orig/sample/record/csa-to-kisen.cc
++++ libosl-0.8.0/sample/record/csa-to-kisen.cc
+@@ -13,7 +13,7 @@
+ #include <boost/algorithm/string/trim.hpp>
+ #include <boost/date_time/gregorian/gregorian.hpp>
+ #include <boost/program_options.hpp>
+-#include <boost/filesystem/convenience.hpp>
++#include <boost/filesystem.hpp>
+ #include <boost/format.hpp>
+ #include <boost/progress.hpp>
+ #include <boost/regex.hpp>
+@@ -97,7 +97,7 @@ static void convert(const std::string &k
+   if (output_ipx)
+   {
+     const boost::filesystem::path ipx_path =
+-      
boost::filesystem::change_extension(boost::filesystem::path(kisen_filename), 
".ipx");
++      boost::filesystem::path(kisen_filename).replace_extension(".ipx");
+     const std::string ipx = osl::misc::file_string(ipx_path);
+     ipx_ofs.reset(new std::ofstream(ipx.c_str()));
+     ipx_writer.reset(new osl::record::KisenIpxWriter(*ipx_ofs));
+--- libosl-0.8.0.orig/std/osl/record/kisen.cc
++++ libosl-0.8.0/std/osl/record/kisen.cc
+@@ -2,7 +2,7 @@
+ #include "osl/misc/filePath.h"
+ #include "osl/misc/iconvConvert.h"
+ #include "osl/misc/sjis2euc.h"
+-#include <boost/filesystem/convenience.hpp>
++#include <boost/filesystem.hpp>
+ #include <iostream>
+ 
+ osl::Square osl::record::KisenUtils::convertSquare( int pos ){
+@@ -123,7 +123,7 @@ std::vector<osl::Move> osl::record::Kise
+ std::string osl::record::KisenFile::ipxFileName(const std::string& filename) 
+ {
+   namespace bf = boost::filesystem;
+-  const bf::path ipxfilename = bf::change_extension(bf::path(filename), 
".ipx");
++  const bf::path ipxfilename = bf::path(filename).replace_extension(".ipx");
+   return misc::file_string(ipxfilename);
+ }
+ 
diff -Nru libosl-0.8.0/debian/patches/series libosl-0.8.0/debian/patches/series
--- libosl-0.8.0/debian/patches/series  2025-10-27 16:08:08.000000000 +0100
+++ libosl-0.8.0/debian/patches/series  2026-07-07 18:33:12.000000000 +0200
@@ -9,4 +9,5 @@
 0009-Explicitly-link-with-relevant-boost-libraries.patch
 0010-Fix-unkown-typo.patch
 0011-Fix-build-with-gcc-11.patch
+0012-fix-boost-build-failure.patch
 cmake-4.patch
diff -Nru libosl-0.8.0/debian/rules libosl-0.8.0/debian/rules
--- libosl-0.8.0/debian/rules   2021-11-17 20:29:03.000000000 +0100
+++ libosl-0.8.0/debian/rules   2026-07-07 18:33:43.000000000 +0200
@@ -23,6 +23,8 @@
        -rm doc/doxygen.err
        -rm doc/html/jquery.js
 
+override_dh_auto_install-indep:
+
 override_dh_auto_clean:
        dh_auto_clean
        LANG=C make -C doc clean

Reply via email to