Index: head/sysutils/dtc/Makefile =================================================================== --- head/sysutils/dtc/Makefile (revision 455682) +++ head/sysutils/dtc/Makefile (revision 455683) @@ -1,23 +1,24 @@ # $FreeBSD$ PORTNAME= dtc PORTVERSION= 1.4.5 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= sysutils MAINTAINER= imp@FreeBSD.org COMMENT= Device Tree Compiler LICENSE= GPLv2 USES= bison gmake shebangfix USE_LDCONFIG= yes SHEBANG_FILES= dtdiff USE_GITHUB= yes GH_ACCOUNT= dgibson GH_PROJECT= dtc MAKE_ARGS+= PREFIX=${PREFIX} NO_PYTHON=yes .include Index: head/sysutils/dtc/files/patch-checks.c =================================================================== --- head/sysutils/dtc/files/patch-checks.c (nonexistent) +++ head/sysutils/dtc/files/patch-checks.c (revision 455683) @@ -0,0 +1,20 @@ +--- checks.c.orig 2017-12-05 20:24:45 UTC ++++ checks.c +@@ -972,7 +972,7 @@ static void check_property_phandle_args(struct check * + int cell, cellsize = 0; + + if (prop->val.len % sizeof(cell_t)) { +- FAIL(c, dti, "property '%s' size (%d) is invalid, expected multiple of %ld in node %s", ++ FAIL(c, dti, "property '%s' size (%d) is invalid, expected multiple of %zu in node %s", + prop->name, prop->val.len, sizeof(cell_t), node->fullpath); + return; + } +@@ -1163,7 +1163,7 @@ static void check_interrupts_property(struct check *c, + return; + + if (irq_prop->val.len % sizeof(cell_t)) +- FAIL(c, dti, "property '%s' size (%d) is invalid, expected multiple of %ld in node %s", ++ FAIL(c, dti, "property '%s' size (%d) is invalid, expected multiple of %zu in node %s", + irq_prop->name, irq_prop->val.len, sizeof(cell_t), + node->fullpath); + Property changes on: head/sysutils/dtc/files/patch-checks.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/sysutils/dtc/files/patch-fdtoverlay.c =================================================================== --- head/sysutils/dtc/files/patch-fdtoverlay.c (revision 455682) +++ head/sysutils/dtc/files/patch-fdtoverlay.c (revision 455683) @@ -1,12 +1,12 @@ ---- fdtoverlay.c.orig 2017-11-27 12:39:15 UTC +--- fdtoverlay.c.orig 2017-09-27 10:00:10 UTC +++ fdtoverlay.c @@ -26,7 +26,9 @@ #include #include #include +#ifndef __FreeBSD__ #include +#endif #include #include