ports/sysutils/dtc/files/patch-fdtoverlay.c
Emmanuel Vadot dcb51e34ef sysutils/dtc: Fix building
Forgot to add patch to build dtc on FreeBSD.

Reported by:	cy
Approved by:	imp (maintainer, implicit)
2017-11-27 12:47:18 +00:00

12 lines
239 B
C

--- 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>