From ee3dd8860f6bd0f5665297366b5ae9ab18335caeca12a598a7cfd2788d3c15a5 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 8 Feb 2017 13:21:29 +0000 Subject: [PATCH 1/5] Accepting request 455012 from home:jloeser:branches:Base:System version update to 1.4.2 OBS-URL: https://build.opensuse.org/request/show/455012 OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=24 --- dtc-1.4.1.tar.xz | 3 --- dtc-1.4.2.tar.xz | 3 +++ dtc.changes | 20 +++++++++++++++ dtc.spec | 4 +-- ...-as-the-type-specifier-instead-of-zx.patch | 25 ++++++++----------- 5 files changed, 36 insertions(+), 19 deletions(-) delete mode 100644 dtc-1.4.1.tar.xz create mode 100644 dtc-1.4.2.tar.xz diff --git a/dtc-1.4.1.tar.xz b/dtc-1.4.1.tar.xz deleted file mode 100644 index de2df2c..0000000 --- a/dtc-1.4.1.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77992ad8eac7b68f553d0ba58e5b51604ac803d126196c99e3ae38aaae28bb94 -size 107920 diff --git a/dtc-1.4.2.tar.xz b/dtc-1.4.2.tar.xz new file mode 100644 index 0000000..f5dc959 --- /dev/null +++ b/dtc-1.4.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6350252cc6a81c8e70d0b5779319ac497e3e292e705434e3963ccfdae72291c5 +size 122308 diff --git a/dtc.changes b/dtc.changes index 0ce2b73..98a4293 100644 --- a/dtc.changes +++ b/dtc.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Mon Feb 6 14:00:11 UTC 2017 - jloeser@suse.com + +- version update to 1.4.2 + * including patches up to git commit 3b9c9709 + * Fix NULL pointer use in dtlabel + dtref case + * fdtdump: check fdt if not in scanning mode + * Fix memory leak in character literal parsing + * Don't always generate __symbols__ for plugins + * Plugin and fixup support + * fix fdt_stringlist_search() + * fix fdt_stringlist_count() + * improve tests + * minor bugfixes/typos + * including symbols in version.lds + * no changelog available + +- modified patches: + * use-tx-as-the-type-specifier-instead-of-zx.patch + ------------------------------------------------------------------- Sat Dec 12 16:30:13 UTC 2015 - mpluskal@suse.com diff --git a/dtc.spec b/dtc.spec index c8abe0b..809e87e 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,7 +1,7 @@ # # spec file for package dtc # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX Products 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.1 +Version: 1.4.2 Release: 0 Summary: Device-tree compiler License: GPL-2.0+ diff --git a/use-tx-as-the-type-specifier-instead-of-zx.patch b/use-tx-as-the-type-specifier-instead-of-zx.patch index e6c351b..ce044b4 100644 --- a/use-tx-as-the-type-specifier-instead-of-zx.patch +++ b/use-tx-as-the-type-specifier-instead-of-zx.patch @@ -11,11 +11,11 @@ is defined as "unsigned long" as opposed to the usual "unsigned int". fdtdump.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) -diff --git a/fdtdump.c b/fdtdump.c -index 723770d..c5811f0 100644 ---- a/fdtdump.c -+++ b/fdtdump.c -@@ -95,7 +95,7 @@ static void dump_blob(void *blob, bool debug) +Index: dtc-1.4.2/fdtdump.c +=================================================================== +--- dtc-1.4.2.orig/fdtdump.c ++++ dtc-1.4.2/fdtdump.c +@@ -98,7 +98,7 @@ static void dump_blob(void *blob, bool d p = p_struct; while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) { @@ -24,7 +24,7 @@ index 723770d..c5811f0 100644 (uintptr_t)p - blob_off - 4, tag, tagname(tag)); if (tag == FDT_BEGIN_NODE) { -@@ -135,8 +135,8 @@ static void dump_blob(void *blob, bool debug) +@@ -138,8 +138,8 @@ static void dump_blob(void *blob, bool d p = PALIGN(p + sz, 4); @@ -35,8 +35,8 @@ index 723770d..c5811f0 100644 printf("%*s%s", depth * shift, "", s); utilfdt_print_data(t, sz); printf(";\n"); -@@ -210,14 +210,14 @@ int main(int argc, char *argv[]) - fdt_off_dt_strings(p) < this_len) +@@ -222,14 +222,14 @@ int main(int argc, char *argv[]) + if (valid_header(p, this_len)) break; if (debug) - printf("%s: skipping fdt magic at offset %#zx\n", @@ -45,13 +45,10 @@ index 723770d..c5811f0 100644 } ++p; } - if (!p) + if (!p || endp - p < sizeof(struct fdt_header)) die("%s: could not locate fdt magic\n", file); - printf("%s: found fdt at offset %#zx\n", file, p - buf); + printf("%s: found fdt at offset %#tx\n", file, p - buf); buf = p; - } - --- -1.8.1.4 - + } else if (!valid_header(buf, len)) + die("%s: header is not valid\n", file); From f90bcd2e7f6a693f527b0425986ebc3ff80f7fba88696d0b0ef29fa5d1b84c36 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 8 Feb 2017 15:40:24 +0000 Subject: [PATCH 2/5] tarball changed? OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=25 --- dtc-1.4.2.tar.xz | 4 ++-- dtc.spec | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dtc-1.4.2.tar.xz b/dtc-1.4.2.tar.xz index f5dc959..c1dc8e6 100644 --- a/dtc-1.4.2.tar.xz +++ b/dtc-1.4.2.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6350252cc6a81c8e70d0b5779319ac497e3e292e705434e3963ccfdae72291c5 -size 122308 +oid sha256:13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac +size 112480 diff --git a/dtc.spec b/dtc.spec index 809e87e..2a10ef2 100644 --- a/dtc.spec +++ b/dtc.spec @@ -1,7 +1,7 @@ # # spec file for package dtc # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 From 93455e834c6ad8f1daa3e76f64b801432d0829772e748d4156d5f8113508d95d Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 15 Feb 2017 14:53:19 +0000 Subject: [PATCH 3/5] Accepting request 457076 from home:jloeser:branches:Base:System correct tarball; dont know what happend OBS-URL: https://build.opensuse.org/request/show/457076 OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=26 --- dtc-1.4.2.tar.xz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtc-1.4.2.tar.xz b/dtc-1.4.2.tar.xz index c1dc8e6..f5dc959 100644 --- a/dtc-1.4.2.tar.xz +++ b/dtc-1.4.2.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac -size 112480 +oid sha256:6350252cc6a81c8e70d0b5779319ac497e3e292e705434e3963ccfdae72291c5 +size 122308 From d43be32452590b3fae706bd0aad73b40c2bd48d3a379551677e691c1d2f05a2f Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 15 Feb 2017 16:51:02 +0000 Subject: [PATCH 4/5] OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=27 --- dtc-1.4.2.tar.xz | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dtc-1.4.2.tar.xz b/dtc-1.4.2.tar.xz index f5dc959..c1dc8e6 100644 --- a/dtc-1.4.2.tar.xz +++ b/dtc-1.4.2.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6350252cc6a81c8e70d0b5779319ac497e3e292e705434e3963ccfdae72291c5 -size 122308 +oid sha256:13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac +size 112480 From 384802700418c3b44219633d4f53fc58e359feb02800e513f228606c7609ec74 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 9 Mar 2017 08:43:44 +0000 Subject: [PATCH 5/5] Accepting request 472012 from home:jloeser:branches:Base:System version update to 1.4.3 OBS-URL: https://build.opensuse.org/request/show/472012 OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=28 --- dtc-1.4.2.tar.xz | 3 --- dtc-1.4.3.tar.gz | 3 +++ dtc.changes | 15 +++++++++++++++ dtc.spec | 8 ++++---- 4 files changed, 22 insertions(+), 7 deletions(-) delete mode 100644 dtc-1.4.2.tar.xz create mode 100644 dtc-1.4.3.tar.gz diff --git a/dtc-1.4.2.tar.xz b/dtc-1.4.2.tar.xz deleted file mode 100644 index c1dc8e6..0000000 --- a/dtc-1.4.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:13456ee9840abbbcb956d0711c580d28524e2ee17840e556e744311f2d8afaac -size 112480 diff --git a/dtc-1.4.3.tar.gz b/dtc-1.4.3.tar.gz new file mode 100644 index 0000000..fcc2548 --- /dev/null +++ b/dtc-1.4.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59c76612661032d7d558deb2d728e637e3bd7256cfcd8bc2f6a8594eebcfaabb +size 157018 diff --git a/dtc.changes b/dtc.changes index 98a4293..4a04d0e 100644 --- a/dtc.changes +++ b/dtc.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Mar 3 12:01:08 UTC 2017 - jloeser@suse.com + +- version update to 1.4.3 + * Add printf format attributes + * Correct some broken printf() like format mismatches + * libfdt: Add fdt_setprop_empty() + * libfdt: Remove undefined behaviour setting empty properties + * Print output filename as part of warning messages + * dtc: Use streq() in preference to strcmp() + * checks: Add Warning for stricter node name character checking + * checks: Add Warning for stricter property name character checking + * dtc: pos parameter to srcpos_string() can't be NULL + * livetree.c: Fix memory leak + ------------------------------------------------------------------- Mon Feb 6 14:00:11 UTC 2017 - jloeser@suse.com diff --git a/dtc.spec b/dtc.spec index 2a10ef2..61fc8a4 100644 --- a/dtc.spec +++ b/dtc.spec @@ -18,14 +18,14 @@ %define sover 1 Name: dtc -Version: 1.4.2 +Version: 1.4.3 Release: 0 Summary: Device-tree compiler License: GPL-2.0+ Group: Development/Tools/Building -Url: http://devicetree.org/Device_Tree_Compiler -Source: https://www.kernel.org/pub/software/utils/dtc/%{name}-%{version}.tar.xz -Source2: baselibs.conf +Url: https://github.com/dgibson/dtc +Source0: https://github.com/dgibson/dtc/archive/v%{version}.tar.gz#/dtc-%{version}.tar.gz +Source1: baselibs.conf Patch3: dtc-license.patch Patch4: use-tx-as-the-type-specifier-instead-of-zx.patch BuildRequires: bison