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

View File

@ -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+

View File

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