[Bug 269267] security/gostsum: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 31 Jan 2023 21:37:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269267

            Bug ID: 269267
           Summary: security/gostsum: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: rozhuk.im@gmail.com
             Flags: maintainer-feedback?(rozhuk.im@gmail.com)
                CC: rozhuk.im@gmail.com
 Attachment #239834 maintainer-approval?(rozhuk.im@gmail.com)
             Flags:
             Flags: merge-quarterly?

Created attachment 239834
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239834&action=edit
security/gostsum: fix build on armv7

The build is fixed by adding some missing bits of assembly code.
Add some more assembly code for arm64 for good measure.
While we are at it, fix a warning due to a missing include file.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.

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