[Bug 264940] misc/raspberrypi-userland: fix build on FreeBSD 13.1

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Jun 2022 12:10:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264940

            Bug ID: 264940
           Summary: misc/raspberrypi-userland: fix build on FreeBSD 13.1
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: fuz@fuz.su
 Attachment #234981 maintainer-approval+
             Flags:
             Flags: merge-quarterly?

Created attachment 234981
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234981&action=edit
misc/raspberrypi-userland: fix build on FreeBSD 13.1

Possibly due to a changed compiler version, -Werror causes the port to no
longer build on FreeBSD 13.1.

 - patch out -Werror
 - fix include for basename

Tested with Poudriere on armv7 FreeBSD 13.1.
If this patch is committed after 2022Q3 drops, please MFH.

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