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);