[Bug 267618] net/opennx: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 07 Nov 2022 14:52:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267618

            Bug ID: 267618
           Summary: net/opennx: 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: beyert@cs.ucr.edu
                CC: beyert@cs.ucr.edu
             Flags: maintainer-feedback?(beyert@cs.ucr.edu)
 Attachment #237919 maintainer-approval?(beyert@cs.ucr.edu)
             Flags:
             Flags: merge-quarterly?

Created attachment 237919
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237919&action=edit
net/opennx: fix build on armv7

time_t is a long long on armv7, but OpenNX tries to store time stamps into
configuration storage that only eats long variables.  Cast to long and cross
fingers that nobody is going to use this port past 2036.

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Please MFH if possible.
Please see also bug #240234 and bug #261941.

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