maintainer-approval requested: [Bug 263543] sysutils/edk2: Fails to build with GCC > 11 (all flavors) : [Attachment 234324] patch to fix build of sysutils/edk2 with gcc12

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 May 2022 13:35:46 UTC
Oleg Sidorkin <osidorkin@gmail.com> has asked freebsd-uboot (Nobody)
<uboot@FreeBSD.org> for maintainer-approval:
Bug 263543: sysutils/edk2: Fails to build with GCC > 11 (all flavors)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263543

Attachment 234324: patch to fix build of sysutils/edk2 with gcc12
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234324&action=edit



--- Comment #10 from Oleg Sidorkin <osidorkin@gmail.com> ---
Created attachment 234324
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=234324&action=edit
patch to fix build of sysutils/edk2 with gcc12

Moving GCC12 fix from closed bug #264262 issue as suggested:

Backport 2 upstreamed patches and fix ar path
While here pet portlint