[Bug 266725] security/gvm-libs: fix build on armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 30 Sep 2022 14:07:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266725

            Bug ID: 266725
           Summary: security/gvm-libs: 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: acm@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: acm@FreeBSD.org
             Flags: maintainer-feedback?(acm@FreeBSD.org)
          Assignee: acm@FreeBSD.org
 Attachment #236970 maintainer-approval?(acm@FreeBSD.org)
             Flags:
                CC: acm@FreeBSD.org

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

- add missing type casts for sizeof(time_t) > sizeof(long)
 - neuter -Werror as per policy
 - while we are at it, pet portlint

Tested with Poudriere on armv7 arm64 FreeBSD 13.1.
Test suite cannot be run due to unported test dependency (hence not hooked up
either).
Please MFH if committed after 2022Q4 is branched off.

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