Hello community, here is the log from the commit of package dtc for openSUSE:Factory checked in at 2018-12-28 12:32:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dtc (Old) and /work/SRC/openSUSE:Factory/.dtc.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dtc" Fri Dec 28 12:32:28 2018 rev:29 rq:660006 version:1.4.7 Changes: -------- --- /work/SRC/openSUSE:Factory/dtc/dtc.changes 2017-03-18 20:48:48.588674753 +0100 +++ /work/SRC/openSUSE:Factory/.dtc.new.28833/dtc.changes 2018-12-28 12:32:29.660081537 +0100 @@ -1,0 +2,14 @@ +Thu Dec 13 10:55:22 UTC 2018 - [email protected] + +- Upgrade to version 1.4.7: + * checks.c: Overlay fragments are a special case + * checks.c: added handling of various busses (eg PCI, simple, + i2c, SPI) + * checks.c: added some plausibility and syntax checks mainly + for device proerties. + * dtc.c: annotate .dts with input source location + * some code restructuring, cosmetic changes. + * decumentation cleanup and update + * some more tests added. + +------------------------------------------------------------------- Old: ---- dtc-1.4.4.tar.gz New: ---- dtc-1.4.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dtc.spec ++++++ --- /var/tmp/diff_new_pack.XB4Vdy/_old 2018-12-28 12:32:30.240081135 +0100 +++ /var/tmp/diff_new_pack.XB4Vdy/_new 2018-12-28 12:32:30.240081135 +0100 @@ -1,7 +1,7 @@ # # spec file for package dtc # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 1 Name: dtc -Version: 1.4.4 +Version: 1.4.7 Release: 0 Summary: Device-tree compiler License: GPL-2.0+ @@ -30,6 +30,7 @@ Patch4: use-tx-as-the-type-specifier-instead-of-zx.patch BuildRequires: bison BuildRequires: flex +BuildRequires: valgrind-devel %description PowerPC kernels are moving towards requiring a small Open @@ -62,7 +63,7 @@ %prep %setup -q %patch3 -%patch4 +%patch4 -p1 %build make %{?_smp_mflags} V=1 @@ -84,6 +85,7 @@ %{_bindir}/fdtdump %{_bindir}/fdtget %{_bindir}/fdtput +%{_bindir}/fdtoverlay %post -n libfdt%{sover} -p /sbin/ldconfig %postun -n libfdt%{sover} -p /sbin/ldconfig ++++++ dtc-1.4.4.tar.gz -> dtc-1.4.7.tar.gz ++++++ ++++ 9851 lines of diff (skipped) ++++++ use-tx-as-the-type-specifier-instead-of-zx.patch ++++++ --- /var/tmp/diff_new_pack.XB4Vdy/_old 2018-12-28 12:32:30.360081052 +0100 +++ /var/tmp/diff_new_pack.XB4Vdy/_new 2018-12-28 12:32:30.360081052 +0100 @@ -1,30 +1,17 @@ -From 46ed9702a0005da87edd0cc3d34dbe24d1526784 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <[email protected]> -Date: Thu, 6 Jun 2013 17:01:39 +0200 -Subject: [PATCH] use tx as the type specifier instead of zx - -A couple of printf() commands use "zx" as a type specifier for printing -a difference of 2 pointers. "z" means a size_t, but using "t" which is -ptrdiff_t is correct. The issue was found on s390 (32-bit) where size_t -is defined as "unsigned long" as opposed to the usual "unsigned int". ---- - fdtdump.c | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -Index: fdtdump.c +Index: dtc-1.4.7/fdtdump.c =================================================================== ---- fdtdump.c.orig -+++ fdtdump.c -@@ -98,7 +98,7 @@ static void dump_blob(void *blob, bool d +--- dtc-1.4.7.orig/fdtdump.c ++++ dtc-1.4.7/fdtdump.c +@@ -100,7 +100,7 @@ static void dump_blob(void *blob, bool d p = p_struct; while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) { -- dumpf("%04zx: tag: 0x%08x (%s)\n", -+ dumpf("%04tx: tag: 0x%08x (%s)\n", +- dumpf("%04zx: tag: 0x%08"PRIx32" (%s)\n", ++ dumpf("%04tx: tag: 0x%08"PRIx32" (%s)\n", (uintptr_t)p - blob_off - 4, tag, tagname(tag)); if (tag == FDT_BEGIN_NODE) { -@@ -138,8 +138,8 @@ static void dump_blob(void *blob, bool d +@@ -140,8 +140,8 @@ static void dump_blob(void *blob, bool d p = PALIGN(p + sz, 4); @@ -35,7 +22,7 @@ printf("%*s%s", depth * shift, "", s); utilfdt_print_data(t, sz); printf(";\n"); -@@ -222,14 +222,14 @@ int main(int argc, char *argv[]) +@@ -229,14 +229,14 @@ int main(int argc, char *argv[]) if (valid_header(p, this_len)) break; if (debug)
