[Bug 264550] multimedia/zoneminder: fix build on armv7 (again)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Jun 2022 17:28:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264550

            Bug ID: 264550
           Summary: multimedia/zoneminder: fix build on armv7 (again)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://github.com/ZoneMinder/zoneminder/commit/78a10b
                    6095b3759d341a1a336ac2b73a880871b4
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: bsd@abinet.ru, pkubaj@FreeBSD.org
                CC: bsd@abinet.ru
             Flags: maintainer-feedback?(bsd@abinet.ru)
             Flags: merge-quarterly?

After pkubaj@ fixed armv7 support in ports commit 5094662, the fix was
upstreamed.  Unfortunately upstream made a mistake in processing the patch,
leading to broken code on armv7.  This was subsequently fixed in the linked
commit, but has not made its way into the ports tree yet.

Fix the build once again by importing the patch from the commit above.

See also:
https://cgit.freebsd.org/ports/commit/?id=50946628c31aff06f6ff06504d5164466d34428c
See also:
https://github.com/ZoneMinder/zoneminder/commit/78a10b6095b3759d341a1a336ac2b73a880871b4

Tested with Poudriere on i386 amd64 armv7 FreeBSD 13.
Please MFH if possible.

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