[Bug 265483] math/linbox: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 28 Jul 2022 17:57:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265483

            Bug ID: 265483
           Summary: math/linbox: fix build on armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/linbox-team/linbox/issues/238
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: thierry@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: thierry@FreeBSD.org
             Flags: maintainer-feedback?(thierry@FreeBSD.org)
          Assignee: thierry@FreeBSD.org
 Attachment #235530 maintainer-approval?(thierry@FreeBSD.org)
             Flags:
                CC: thierry@FreeBSD.org
             Flags: merge-quarterly?

Created attachment 235530
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=235530&action=edit
math/linbox: fix build on armv7

- add missing casts in RNG initialisation
 - import an upstream patch to avoid unaligned memory access

See also: https://github.com/linbox-team/linbox/issues/238
Tested with Poudriere on armv7 FreeBSD 13.1.
The test suite passes.
Please MFH if possible.

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