[Bug 265438] devel/electron19: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 25 Jul 2022 19:24:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265438

            Bug ID: 265438
           Summary: devel/electron19: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tagattie@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: tagattie@FreeBSD.org
          Assignee: tagattie@FreeBSD.org
             Flags: maintainer-feedback?(tagattie@FreeBSD.org)
 Attachment #235472 maintainer-approval?(tagattie@FreeBSD.org)
             Flags:
                CC: tagattie@FreeBSD.org

Created attachment 235472
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235472&action=edit
devel/electron19: fix build on armv7

- add some missing bits of armv7 FreeBSD support code
   for the bundled boringssl
 - import V8 patch from bug #260651

Tested without Poudriere on armv7 FreeBSD 13.1.  The build took 3 days and I do
not have the resources to repeat it right now.  Additionally, I only managed to
test with electron19-19.0.6, not the most recent version.

I have not tested the DIST option.  It looks like that one will require some
Makefile changes which I do not know how you want them to be done.

I'll keep the wrkdir around for a few days if you want me to run additional
tests.

I'll try to fix the arm64 build next.

The patch likely also works with other electron versions.
Please MFH if possible.

-- 
You are receiving this mail because:
You are the assignee for the bug.