[Bug 262008] editors/libreoffice failed to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Mar 2022 22:23:39 UTC

Dimitry Andric <dim@FreeBSD.org> changed:

           What    |Removed                     |Added
                 CC|                            |dim@FreeBSD.org

--- Comment #50 from Dimitry Andric <dim@FreeBSD.org> ---
Created attachment 232330
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232330&action=edit
editors/libreoffice: work around changed alignment of __cxa_exception

Here is patch that should make libreoffice work with both the old and the new
alignment of __cxa_exception (and _Unwind_Exception):

editors/libreoffice: work around changed alignment of __cxa_exception

LibreOffice has special detection for the change in alignment and size
of struct cxa_exception, when using libc++abi. However, this updated
alignment also applies to libunwind and upstream libcxxrt, and will soon
apply to our libcxxrt too.

Enable the special detection unconditionally for x86_64 and aarch64, so
libreoffice packages built on 13.0-R (with the old alignment) will
seamlessly work on 13.1-R (which will have the new alignment).

You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.