freebsd-ports/lang/sdcc/files/patch-support_sdbinutils_libiberty_objalloc.c
Daniel O'Connor f565698366
lang/sdcc: Fix build if binutils is installed
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.

PR:		273037
2023-08-15 09:40:43 +08:00

11 lines
321 B
C

--- support/sdbinutils/libiberty/objalloc.c.orig 2018-03-18 17:46:53 UTC
+++ support/sdbinutils/libiberty/objalloc.c
@@ -18,7 +18,7 @@ Foundation, 51 Franklin Street - Fifth Floor,
Boston, MA 02110-1301, USA. */
#include "config.h"
-#include "ansidecl.h"
+#include "../include/ansidecl.h"
#include "objalloc.h"