Accepting request 477904 from Base:System

1

OBS-URL: https://build.opensuse.org/request/show/477904
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=27
This commit is contained in:
Dominique Leuenberger 2017-03-10 20:11:56 +00:00 committed by Git OBS Bridge
commit d30793822a
5 changed files with 54 additions and 22 deletions

View File

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

3
dtc-1.4.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59c76612661032d7d558deb2d728e637e3bd7256cfcd8bc2f6a8594eebcfaabb
size 157018

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
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
- 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 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,14 +18,14 @@
%define sover 1
Name: dtc
Version: 1.4.1
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

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