Created attachment 234500 [details] x11-toolkits/copperspice: fix build on armv6/armv7 Please find attached a patch to fix the build of this port on armv6/armv7. Builds fine in Poudriere. An unrelated issue I noticed is that the port will try to build additional plugins when the relevant dependencies are available on the system (for example, a postgres plugin). This causes the pkg-plist check to fail when building without Poudriere. You should try to control what components are being built in a more fine grained manner. Please MFH if possible.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=5f104f3192f7fbbe809570b9b3d85ba778e5207f commit 5f104f3192f7fbbe809570b9b3d85ba778e5207f Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2022-06-05 00:15:51 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-06-12 20:40:11 +0000 x11-toolkits/copperspice: fix build on armv7 PR: 264506 ..._JavaScriptCore_jit_ExecutableAllocator.h (new) | 27 ++++++++++++++++++++++ .../files/patch-src_core_global_qglobal.h (new) | 19 +++++++++++++++ 2 files changed, 46 insertions(+)
THanks for the patch. I've applied it unchanged. Since it's against WebKit, I expected to find something similar in other Qt5-derived ports, but did not; it might have been fixed in Qt5 sometime after CS forked. I'm not going to MFH: Q2 ends in less than 3 weeks, this port is not in any way essential (or even useful for anything beyond the Diamond editor).
(In reply to Adriaan de Groot from comment #2) Hi there, Upstream Webkit has completely refactored this part of the code, so no need to send them any of this. And indeed, Qt5 is not affected by this issue. I had originally tried to find a patch I could just add to PATCH_FILES, but didn't find any particular commit that would solve the issue. Long term it might probably be best to unbundle Webkit and consolidate all the patches from the dozen or so Webkits shipped with FreeBSD, but that'll probably not happen any time soon.