Accepting request 660006 from Base:System
OBS-URL: https://build.opensuse.org/request/show/660006 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dtc?expand=0&rev=29
This commit is contained in:
commit
2455de40e5
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2f2c0bf4d84763595953885bdcd2159b0b85410018c8ba48cc31b3d6e443e4d8
|
||||
size 156980
|
3
dtc-1.4.7.tar.gz
Normal file
3
dtc-1.4.7.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:603d6f4f5f34921b368e6febe6690c89022d098edda77187a758b8eeeeff53ea
|
||||
size 191568
|
14
dtc.changes
14
dtc.changes
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 13 10:55:22 UTC 2018 - josef.moellers@suse.com
|
||||
|
||||
- Upgrade to version 1.4.7:
|
||||
* checks.c: Overlay fragments are a special case
|
||||
* checks.c: added handling of various busses (eg PCI, simple,
|
||||
i2c, SPI)
|
||||
* checks.c: added some plausibility and syntax checks mainly
|
||||
for device proerties.
|
||||
* dtc.c: annotate .dts with input source location
|
||||
* some code restructuring, cosmetic changes.
|
||||
* decumentation cleanup and update
|
||||
* some more tests added.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 12 09:39:47 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
8
dtc.spec
8
dtc.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package dtc
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 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,7 +18,7 @@
|
||||
|
||||
%define sover 1
|
||||
Name: dtc
|
||||
Version: 1.4.4
|
||||
Version: 1.4.7
|
||||
Release: 0
|
||||
Summary: Device-tree compiler
|
||||
License: GPL-2.0+
|
||||
@ -30,6 +30,7 @@ Patch3: dtc-license.patch
|
||||
Patch4: use-tx-as-the-type-specifier-instead-of-zx.patch
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: valgrind-devel
|
||||
|
||||
%description
|
||||
PowerPC kernels are moving towards requiring a small Open
|
||||
@ -62,7 +63,7 @@ This package provides development files for libfdt
|
||||
%prep
|
||||
%setup -q
|
||||
%patch3
|
||||
%patch4
|
||||
%patch4 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} V=1
|
||||
@ -84,6 +85,7 @@ make %{?_smp_mflags} check
|
||||
%{_bindir}/fdtdump
|
||||
%{_bindir}/fdtget
|
||||
%{_bindir}/fdtput
|
||||
%{_bindir}/fdtoverlay
|
||||
|
||||
%post -n libfdt%{sover} -p /sbin/ldconfig
|
||||
%postun -n libfdt%{sover} -p /sbin/ldconfig
|
||||
|
@ -1,30 +1,17 @@
|
||||
From 46ed9702a0005da87edd0cc3d34dbe24d1526784 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||||
Date: Thu, 6 Jun 2013 17:01:39 +0200
|
||||
Subject: [PATCH] use tx as the type specifier instead of zx
|
||||
|
||||
A couple of printf() commands use "zx" as a type specifier for printing
|
||||
a difference of 2 pointers. "z" means a size_t, but using "t" which is
|
||||
ptrdiff_t is correct. The issue was found on s390 (32-bit) where size_t
|
||||
is defined as "unsigned long" as opposed to the usual "unsigned int".
|
||||
---
|
||||
fdtdump.c | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: fdtdump.c
|
||||
Index: dtc-1.4.7/fdtdump.c
|
||||
===================================================================
|
||||
--- fdtdump.c.orig
|
||||
+++ fdtdump.c
|
||||
@@ -98,7 +98,7 @@ static void dump_blob(void *blob, bool d
|
||||
--- dtc-1.4.7.orig/fdtdump.c
|
||||
+++ dtc-1.4.7/fdtdump.c
|
||||
@@ -100,7 +100,7 @@ static void dump_blob(void *blob, bool d
|
||||
p = p_struct;
|
||||
while ((tag = fdt32_to_cpu(GET_CELL(p))) != FDT_END) {
|
||||
|
||||
- dumpf("%04zx: tag: 0x%08x (%s)\n",
|
||||
+ dumpf("%04tx: tag: 0x%08x (%s)\n",
|
||||
- dumpf("%04zx: tag: 0x%08"PRIx32" (%s)\n",
|
||||
+ dumpf("%04tx: tag: 0x%08"PRIx32" (%s)\n",
|
||||
(uintptr_t)p - blob_off - 4, tag, tagname(tag));
|
||||
|
||||
if (tag == FDT_BEGIN_NODE) {
|
||||
@@ -138,8 +138,8 @@ static void dump_blob(void *blob, bool d
|
||||
@@ -140,8 +140,8 @@ static void dump_blob(void *blob, bool d
|
||||
|
||||
p = PALIGN(p + sz, 4);
|
||||
|
||||
@ -35,7 +22,7 @@ Index: fdtdump.c
|
||||
printf("%*s%s", depth * shift, "", s);
|
||||
utilfdt_print_data(t, sz);
|
||||
printf(";\n");
|
||||
@@ -222,14 +222,14 @@ int main(int argc, char *argv[])
|
||||
@@ -229,14 +229,14 @@ int main(int argc, char *argv[])
|
||||
if (valid_header(p, this_len))
|
||||
break;
|
||||
if (debug)
|
||||
|
Loading…
Reference in New Issue
Block a user