Debian Patches
Status for lucene++/3.0.9-9
Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
200.patch | Partially revert upstream ac4abb3d6bfbcf08116a33f6c654e2f5104d8047 | Gianfranco Costamagna <locutusofborg@debian.org> | yes | 2024-02-24 | ||
218.patch | [PATCH 1/3] Bump minimum required cmake version to 3.10, for new cmake 4 compatibility fix | Gianfranco Costamagna <locutusofborg@debian.org> | no | 2025-09-08 | ||
210.patch | [PATCH] Migrate to boost::asio::io_context The code previously used the deprecated (and with bost 1.87.0 removed) `boost::asio::io_service`, which used to be an alias to `io_context`. The new version heavily changes the `io_context` API and therefore is no the old interface was removed. Fixes https://github.com/luceneplusplus/LucenePlusPlus/issues/208 |
Christian Heusel <christian@heusel.eu> | no | 2025-01-21 | ||
c18ead2b0c4aa62af01450cb12353a0baa51411f.patch | [PATCH] Fix build with boost 1.85.0 boost::filesystem::wpath has been deprecated (and typedef-ed to boost::filesystem::path) for a long time; it is removed from boost starting with 1.85.0-beta1. Use boost::filesystem::path instead. boost/filesystem/convenience.hpp has been removed (and was being included without being used anyway - its only use was indirectly pulling in boost/filesystem/directory.hpp, which is actually used). Include boost/filesystem/directory.hpp directly instead. |
=?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= <bero@lindev.ch> | no | 2024-03-27 | ||
b77d1c7569e6f5f361bea4850829ae4e70e193ec.patch | commit b77d1c7569e6f5f361bea4850829ae4e70e193ec Fix compilation with clang-17 Fix typos in Set<T>::swap() and Collection<T>::swap(). Apparently, no compiler ever tried to compile these methods before. diff --git a/include/lucene++/Collection.h b/include/lucene++/Collection.h index 0263f3f..aeefda5 100644 |
Václav Slavík <vaclav@slavik.io> | no | 2025-04-03 | ||
983774c50ce0e18b0b6bbdf45de5b24ba95277b4.patch | commit 983774c50ce0e18b0b6bbdf45de5b24ba95277b4 Fix crash when reading corrupted or incompatible Lucene index files This commit addresses critical crashes that occur when trying to read certain Lucene index files where field data may be corrupted or have incompatible format. Root causes: 1. Assertion failures in FieldsReader::doc() when bits flag or compressed field format is incompatible with expected values 2. Null pointer dereference in boost::shared_ptr when trying to add fields to a document with potentially corrupted data The fixes include: - Replace assertions with safe handling for invalid bit flags and format incompatibilities - Add null checks before dereferencing shared pointers in critical paths - Create field objects separately before adding them to documents - Add proper error handling for decompression failures - Ensure uncompress and string conversion methods never return null values These minimal changes maintain the original logic but make the code more robust when dealing with unexpected or corrupt index data. Instead of crashing, the code now gracefully handles these edge cases and continues processing where possible. diff --git a/src/core/index/FieldsReader.cpp b/src/core/index/FieldsReader.cpp index 0f0653d..439b917 100644 |
Zhang Sheng <zhangsheng@uniontech.com> | no | 2025-05-21 | ||
f40f59c6e169b4e16b7a6439ecb26a629c6540d1.patch | commit f40f59c6e169b4e16b7a6439ecb26a629c6540d1 Fix install path for liblucene++.pc diff --git a/src/config/core/CMakeLists.txt b/src/config/core/CMakeLists.txt index e5691f5..69cfefc 100644 |
Sergey Fedorov <vital.had@gmail.com> | no | 2024-03-14 |