This is an automated email from the ASF dual-hosted git repository. jimjag pushed a commit to branch AOO50X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 2c51747e960f5422937760cb5c999dd1aa9b413b Author: Pedro Giffuni <[email protected]> AuthorDate: Thu Oct 29 13:26:56 2026 -0500 icc: Fix Vetters.cpp include casing for case-sensitive filesystems Reported by: Damjan Jovanovic Vetters.cpp included 'Vetters.h' (uppercase V) but the actual file is 'vetters.h' (lowercase v). This builds fine on case-insensitive filesystems (macOS, Windows) but fails on FreeBSD/Linux ext4 with: fatal error: 'Vetters.h' file not found Fix the include to match the actual filename. (cherry picked from commit a9a1af32de653d672be5748314cb737e5bdb7d40) --- main/icc/README | 4 +++- main/icc/SampleICC-1.6.11.patch | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/main/icc/README b/main/icc/README index 4496931d58..8141413957 100644 --- a/main/icc/README +++ b/main/icc/README @@ -45,7 +45,9 @@ SampleICC-1.6.11.patch performs the following modifications: - Fixes const-correctness in IccUtil.cpp: FromWString() assigns buf.c_str() (const) to a const pointer; ToWString() uses mutable &buf[0] instead of c_str() and guards with if(buf.size()) -- Fixes typo in ToWString(): strStr -> srcStr + - Fixes typo in ToWString(): strStr -> srcStr + - Fixes include filename casing in Vetters.cpp: "Vetters.h" -> "vetters.h" + (filesystem case-sensitivity on FreeBSD/macOS/Linux) Note: The older 1.3.2 patches for format-security warnings and Win64 support are no longer needed as these are already fixed in 1.6.11. diff --git a/main/icc/SampleICC-1.6.11.patch b/main/icc/SampleICC-1.6.11.patch index 6593cf45b9..9d5d7a5178 100644 --- a/main/icc/SampleICC-1.6.11.patch +++ b/main/icc/SampleICC-1.6.11.patch @@ -2399,3 +2399,12 @@ + + icConvertUTF16toUTF32((const UTF16**)&srcStr, &srcStr[m_len], &dstStr, &dstStr[buf.size()], lenientConversion); + } +--- misc/SampleICC-1.6.11/Contrib/ICC_utils/Vetters.cpp 2010-08-24 15:50:00.000000000 -0400 ++++ misc/build/SampleICC-1.6.11/Contrib/ICC_utils/Vetters.cpp 2026-10-29 18:15:00.000000000 -0400 +@@ -69,5 +69,5 @@ + ////////////////////////////////////////////////////////////////////// + +-#include "Vetters.h" ++#include "vetters.h" + + #include <sstream>
