This is an automated email from the ASF dual-hosted git repository.

leginee pushed a commit to branch win10-msvc-trunk
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit acd597629fd7cfcf432eafcbc1afa9a2e6c8a299
Author: Peter Kovacs <[email protected]>
AuthorDate: Wed Aug 26 23:35:50 2026 +0200

    odk: platform.mk has twelve ifeq and eleven endif, so it never parsed
    
    e15a45347c ("Update endianness detection on FreeBSD.") added the
    FreeBSD_PowerPC64 branch to the chain without the endif that closes it,
    leaving the file one short:
    
        $ make -f - <<< 'UNOPKG_PLATFORM=Windows
        include settings/platform.mk'
        settings/platform.mk:74: *** missing 'endif'.  Stop.
    
    GNU make aborts on reading the file, so EXTENSION_PLATFORM is never set
    on ANY platform, and the one example that consumes it --
    examples/cpp/complextoolbarcontrols, which substitutes it into
    description.xml -- cannot build.  Nothing else includes platform.mk,
    which is why this survived: the file is only reached by an SDK user
    building that example.
    
    Adding the missing endif makes the chain resolve as intended
    (Linux_x86_64 -> linux_x86_64, Windows -> windows_x86, ...).
    
    Co-Authored-By: Claude Opus 5 <[email protected]>
    Claude-Session: https://claude.ai/code/session_012NFKmwTogkytKnrTBX5Lax
---
 main/odk/settings/platform.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/main/odk/settings/platform.mk b/main/odk/settings/platform.mk
index 0ea82fed75..8471e6b448 100644
--- a/main/odk/settings/platform.mk
+++ b/main/odk/settings/platform.mk
@@ -70,4 +70,5 @@ else
        endif
        endif
        endif
+       endif
 endif

Reply via email to