Date: Wed, 6 Dec 2017 22:33:59 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455683 - in head/sysutils/dtc: . files Message-ID: <201712062233.vB6MXxUO052824@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu (src committer) Date: Wed Dec 6 22:33:58 2017 New Revision: 455683 URL: https://svnweb.freebsd.org/changeset/ports/455683 Log: sysutils/dtc: Fix build on 32bits Approved by: imp (maintainer) Differential Revision: https://reviews.freebsd.org/D13381 Added: head/sysutils/dtc/files/patch-checks.c (contents, props changed) Modified: head/sysutils/dtc/Makefile head/sysutils/dtc/files/patch-fdtoverlay.c Modified: head/sysutils/dtc/Makefile ============================================================================== --- head/sysutils/dtc/Makefile Wed Dec 6 21:49:08 2017 (r455682) +++ head/sysutils/dtc/Makefile Wed Dec 6 22:33:58 2017 (r455683) @@ -2,6 +2,7 @@ PORTNAME= dtc PORTVERSION= 1.4.5 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= sysutils Added: head/sysutils/dtc/files/patch-checks.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/dtc/files/patch-checks.c Wed Dec 6 22:33:58 2017 (r455683) @@ -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); + Modified: head/sysutils/dtc/files/patch-fdtoverlay.c ============================================================================== --- head/sysutils/dtc/files/patch-fdtoverlay.c Wed Dec 6 21:49:08 2017 (r455682) +++ head/sysutils/dtc/files/patch-fdtoverlay.c Wed Dec 6 22:33:58 2017 (r455683) @@ -1,4 +1,4 @@ ---- 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 <stdio.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712062233.vB6MXxUO052824>