mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
Forgot to add patch to build dtc on FreeBSD. Reported by: cy Approved by: imp (maintainer, implicit)
12 lines
239 B
C
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>
|