commit | fe740d6f33b3b676de83da3bb7f68be1546a8cd4 | [log] [tgz] |
---|---|---|
author | Tijl Coosemans <tijl@FreeBSD.org> | Sun Jun 08 01:51:39 2025 -0700 |
committer | Don Lewis <truckman@apache.org> | Sun Jun 08 02:18:01 2025 -0700 |
tree | 41a2123f77d5c46762acbe5aa19875933c6b0cdf | |
parent | c058b6cb56da217017ee772fd47692977a71f895 [diff] |
Make robust against __cxa_exception ABI changes Patch OpenOffice to replace __cxa_get_globals()->caughtExceptions, which is a pointer to the start of a struct __cxa_exception, with __cxa_current_primary_exception(), which is a pointer to the end. This allows struct __cxa_exception to be extended at the start as was recently done in FreeBSD main and stable/13 on 64-bit architectures. Recently on FreeBSD main and stable/13 __attribute__((__aligned__)) was added to struct _Unwind_Exception which changes its size on 32-bit architectures, and that of __cxa_exception as well. Patch openoffice to detect this so packages built on 13.0 still work on 13.1.
The Apache OpenOffice project (AOO) provides a full featured office productivity suite based on open standards. It is the continuation of the OpenOffice.org project.
For detailed information about Apache OpenOffice please visit the Project Website.
Apache OpenOffice is a very large project with many components and mainly implemented in C++ but also in Java, Perl, Python and other languages.
Currently supported platforms include:
OpenOffice is used by millions of users worldwide and with more than 389 million downloads it is one of the most successful open source projects.
You can always checkout the latest source via Git using the following command:
git clone https://gitbox.apache.org/repos/asf/openoffice.git aoo
For further information visit https://openoffice.apache.org/source.html.
Apache OpenOffice is a big project and depends on several other external libraries.
The list of prerequisites varies for the different platforms.
A comprehensive and complete building guide can be found in the Project Wiki.
With having all prerequisites in place you can simply run
cd aoo/main autoconf ./configure <configure_switches> ./bootstrap source *.Set.sh cd instsetoo_native build --all
Note that building OpenOffice can take several hours.
The default build will produce a setup version (e.g. setup program on Windows, dmg on macOS, rpm and deb packages on Linux) and an archived version.
The output can be found in the directory in instsetoo_native/<output_dir>/Apache_OpenOffice/...