[Bug 273037] lang/sdcc: Fix build if binutils is installed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 10 Aug 2023 04:15:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273037

            Bug ID: 273037
           Summary: lang/sdcc: Fix build if binutils is installed
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: doconnor@gsoft.com.au
                CC: darius@dons.net.au
                CC: darius@dons.net.au
             Flags: maintainer-feedback?(darius@dons.net.au)

Created attachment 243996
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243996&action=edit
Patch to fix build

binutils has ansidecls.h which gets picked up before the sdcc version which
breaks the build.
Patch the files which use it to use a relative path.

Reported by: Holm Tiffe <holm@freibergnet.de>

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