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
This commit is contained in:
Marcus Meissner 2017-02-08 13:21:29 +00:00 committed by Git OBS Bridge
parent c7283dcb40
commit ee3dd8860f
5 changed files with 36 additions and 19 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77992ad8eac7b68f553d0ba58e5b51604ac803d126196c99e3ae38aaae28bb94
size 107920

3
dtc-1.4.2.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6350252cc6a81c8e70d0b5779319ac497e3e292e705434e3963ccfdae72291c5
size 122308

View File

@ -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 Sat Dec 12 16:30:13 UTC 2015 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package dtc # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 1 %define sover 1
Name: dtc Name: dtc
Version: 1.4.1 Version: 1.4.2
Release: 0 Release: 0
Summary: Device-tree compiler Summary: Device-tree compiler
License: GPL-2.0+ License: GPL-2.0+

View File

@ -11,11 +11,11 @@ is defined as "unsigned long" as opposed to the usual "unsigned int".
fdtdump.c | 10 +++++----- fdtdump.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-) 1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/fdtdump.c b/fdtdump.c Index: dtc-1.4.2/fdtdump.c
index 723770d..c5811f0 100644 ===================================================================
--- a/fdtdump.c --- dtc-1.4.2.orig/fdtdump.c
+++ b/fdtdump.c +++ dtc-1.4.2/fdtdump.c
@@ -95,7 +95,7 @@ static void dump_blob(void *blob, bool debug) @@ -98,7 +98,7 @@ static void dump_blob(void *blob, bool d
p = p_struct; p = p_struct;
while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) { 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)); (uintptr_t)p - blob_off - 4, tag, tagname(tag));
if (tag == FDT_BEGIN_NODE) { 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); p = PALIGN(p + sz, 4);
@ -35,8 +35,8 @@ index 723770d..c5811f0 100644
printf("%*s%s", depth * shift, "", s); printf("%*s%s", depth * shift, "", s);
utilfdt_print_data(t, sz); utilfdt_print_data(t, sz);
printf(";\n"); printf(";\n");
@@ -210,14 +210,14 @@ int main(int argc, char *argv[]) @@ -222,14 +222,14 @@ int main(int argc, char *argv[])
fdt_off_dt_strings(p) < this_len) if (valid_header(p, this_len))
break; break;
if (debug) if (debug)
- printf("%s: skipping fdt magic at offset %#zx\n", - printf("%s: skipping fdt magic at offset %#zx\n",
@ -45,13 +45,10 @@ index 723770d..c5811f0 100644
} }
++p; ++p;
} }
if (!p) if (!p || endp - p < sizeof(struct fdt_header))
die("%s: could not locate fdt magic\n", file); 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 %#zx\n", file, p - buf);
+ printf("%s: found fdt at offset %#tx\n", file, p - buf); + printf("%s: found fdt at offset %#tx\n", file, p - buf);
buf = p; buf = p;
} } else if (!valid_header(buf, len))
die("%s: header is not valid\n", file);
--
1.8.1.4