maintainer-approval requested: [Bug 267842] sysutils/u-boot-tools: error: typedef redefinition with different types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long') : [Attachment 246983] [patch] look in wrkdir for include files before /usr/local

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 11 Dec 2023 15:56:02 UTC
John Hein <jcfyecrayz@liamekaens.com> has asked freebsd-uboot (Nobody)
<uboot@FreeBSD.org> for maintainer-approval:
Bug 267842: sysutils/u-boot-tools: error: typedef redefinition with different
types ('uint64_t' (aka 'unsigned long') vs 'unsigned long long')
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267842

Attachment 246983: [patch] look in wrkdir for include files before /usr/local
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246983&action=edit



--- Comment #6 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 246983
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=246983&action=edit
[patch] look in wrkdir for include files before /usr/local

Look in local source tree before elsewhere (like /usr/local) for include files.
 This fixes the pollution observed by the OP (possibly caused by v4l_compat
being installed or similar).