aboutsummaryrefslogtreecommitdiff
path: root/sysutils/dtc
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2017-11-27 12:47:18 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2017-11-27 12:47:18 +0000
commitdcb51e34efbdb9bd590b82a6473779ab16d2afae (patch)
tree10e84e69308d4c87b4d116c7c9c6d07cbf1b7a3e /sysutils/dtc
parentd6bdb5042502cfc1997a478694bcc47c0c3a1aef (diff)
downloadports-dcb51e34efbdb9bd590b82a6473779ab16d2afae.tar.gz
ports-dcb51e34efbdb9bd590b82a6473779ab16d2afae.zip
Notes
Diffstat (limited to 'sysutils/dtc')
-rw-r--r--sysutils/dtc/files/patch-fdtoverlay.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/dtc/files/patch-fdtoverlay.c b/sysutils/dtc/files/patch-fdtoverlay.c
new file mode 100644
index 000000000000..695cd44a59a8
--- /dev/null
+++ b/sysutils/dtc/files/patch-fdtoverlay.c
@@ -0,0 +1,12 @@
+--- fdtoverlay.c.orig 2017-11-27 12:39:15 UTC
++++ fdtoverlay.c
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#ifndef __FreeBSD__
+ #include <alloca.h>
++#endif
+ #include <inttypes.h>
+
+ #include <libfdt.h>