Created attachment 163267 [details] Patch for port's Makefile OS version: FreeBSD 10.2-RELEASE-p7 Arch: amd64 Previous version of binutils is 2.23.2 Build error caused by new define "ATTRIBUTE_RETURNS_NONNULL". I didn't remove old version before build new one. So, in /usr/local/include was ansidecl.h from old package version. Solution for me was to add "-I../include" before usual path in Makefile's variable "CFLAGS" (see attachment).
Might be worth isolating why the -I../Include path isn't already in (and before all other include paths) in CFLAGS. Feels like a root cause begging to be identified and fixed (and sent upstream)
Created attachment 174666 [details] another way to fix
can you try the new patch?
Sorry, I can't. I have no suitable workspace now.
10.2 is EOL. We have version 2.28. Is this still relevant? Or overcome by events?