From owner-svn-ports-all@freebsd.org Wed Dec 6 22:34:00 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6418E8E7D9; Wed, 6 Dec 2017 22:34:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 580C265D75; Wed, 6 Dec 2017 22:34:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB6MXxib052827; Wed, 6 Dec 2017 22:33:59 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB6MXxUO052824; Wed, 6 Dec 2017 22:33:59 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201712062233.vB6MXxUO052824@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Wed, 6 Dec 2017 22:33:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455683 - in head/sysutils/dtc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sysutils/dtc: . files X-SVN-Commit-Revision: 455683 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2017 22:34:00 -0000 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