svn commit: r454946 - head/sysutils/dtc/files

Emmanuel Vadot manu at FreeBSD.org
Mon Nov 27 12:47:19 UTC 2017


Author: manu (src committer)
Date: Mon Nov 27 12:47:18 2017
New Revision: 454946
URL: https://svnweb.freebsd.org/changeset/ports/454946

Log:
  sysutils/dtc: Fix building
  
  Forgot to add patch to build dtc on FreeBSD.
  
  Reported by:	cy
  Approved by:	imp (maintainer, implicit)

Added:
  head/sysutils/dtc/files/
  head/sysutils/dtc/files/patch-fdtoverlay.c   (contents, props changed)

Added: head/sysutils/dtc/files/patch-fdtoverlay.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/dtc/files/patch-fdtoverlay.c	Mon Nov 27 12:47:18 2017	(r454946)
@@ -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>


More information about the svn-ports-all mailing list