Page MenuHomeFreeBSD

devel/mspdebug: change -I order
ClosedPublic

Authored by joerg on Dec 6 2024, 10:33 PM.
Tags
None
Referenced Files
F153088672: D47975.id.diff
Sun, Apr 19, 1:42 AM
Unknown Object (File)
Sat, Apr 18, 4:38 AM
Unknown Object (File)
Sun, Apr 12, 8:14 PM
Unknown Object (File)
Sat, Apr 11, 11:48 AM
Unknown Object (File)
Fri, Apr 10, 11:32 PM
Unknown Object (File)
Mon, Apr 6, 2:20 PM
Unknown Object (File)
Sun, Apr 5, 3:29 PM
Unknown Object (File)
Sat, Apr 4, 3:37 PM
Subscribers
None

Details

Summary

The default order of -I statements had the local includes of this software rather late, behind any other CFLAGS.

This causes a conflict of the local ftdi.h they provide with a global ftdi.h provided by libftdi, if the latter is installed. Their include file from /usr/local/include got preferred through the PORTS_CFLAGS.

Change include order of includes to avoid this situation.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

joerg requested review of this revision.Dec 6 2024, 10:33 PM
joerg created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Dec 11 2024, 8:41 PM
This revision was automatically updated to reflect the committed changes.