diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2022-04-27 22:17:17 +0200 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2022-04-28 22:15:37 +0200 |
commit | 88045c0549d90ad92d5fc630580705107a3f89f2 (patch) | |
tree | ac6a2241a79c58f1f82777724b1709d71ecfdd1d /editors/openoffice-devel/files | |
parent | sysutils/kubectl: Update to 1.23.6 (diff) |
editors/openoffice-4: 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.
Add a build dependency on a recent version of devel/libunwind so we
always build with an unwind.h that has the right definition of
_Unwind_Exception.
Diffstat (limited to 'editors/openoffice-devel/files')
0 files changed, 0 insertions, 0 deletions