- update to 1.4.0 (bnc#826457):

- dtc-check.patch, dtc-flattree.patch: Remove

OBS-URL: https://build.opensuse.org/package/show/Base:System/dtc?expand=0&rev=15
This commit is contained in:
Dirk Mueller 2013-07-09 09:30:00 +00:00 committed by Git OBS Bridge
parent 6e7abb032c
commit 3d89df14cc
6 changed files with 15 additions and 60 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5bf37bd79a1bd279207de9875521c4b3481219309647d8fe07d9b07b2b466109
size 87672

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

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

View File

@ -1,30 +0,0 @@
--- dtc.c.orig 2011-07-01 23:25:03.000000000 +0200
+++ dtc.c 2011-07-01 23:25:41.000000000 +0200
@@ -99,7 +99,7 @@
const char *inform = "dts";
const char *outform = "dts";
const char *outname = "-";
- int force = 0, check = 0, sort = 0;
+ int force = 0, sort = 0;
const char *arg;
int opt;
FILE *outf = NULL;
@@ -111,7 +111,7 @@
minsize = 0;
padsize = 0;
- while ((opt = getopt(argc, argv, "hI:O:o:V:R:S:p:fcqb:vH:s")) != EOF) {
+ while ((opt = getopt(argc, argv, "hI:O:o:V:R:S:p:fqb:vH:s")) != EOF) {
switch (opt) {
case 'I':
inform = optarg;
@@ -137,9 +137,6 @@
case 'f':
force = 1;
break;
- case 'c':
- check = 1;
- break;
case 'q':
quiet++;
break;

View File

@ -1,18 +0,0 @@
--- flattree.c.orig 2011-07-01 23:25:11.000000000 +0200
+++ flattree.c 2011-07-01 23:27:34.000000000 +0200
@@ -697,7 +697,6 @@
{
struct reserve_info *reservelist = NULL;
struct reserve_info *new;
- const char *p;
struct fdt_reserve_entry re;
/*
@@ -706,7 +705,6 @@
*
* First pass, count entries.
*/
- p = inb->ptr;
while (1) {
flat_read_chunk(inb, &re, sizeof(re));
re.address = fdt64_to_cpu(re.address);

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 9 09:26:13 UTC 2013 - dmueller@suse.com
- update to 1.4.0 (bnc#826457):
- dtc-check.patch, dtc-flattree.patch: Remove
-------------------------------------------------------------------
Wed Jun 19 06:58:23 UTC 2013 - dmueller@suse.com

View File

@ -18,7 +18,7 @@
Name: dtc
Url: http://git.jdl.com/gitweb/?p=dtc.git;a=summary
Version: 1.3.0
Version: 1.4.0
Release: 0
BuildRequires: bison
BuildRequires: flex
@ -26,10 +26,8 @@ Summary: Device-tree compiler
License: GPL-2.0+
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: dtc-%{version}.tar.bz2
Source: dtc-%{version}.tar.gz
Source2: baselibs.conf
Patch1: dtc-check.patch
Patch2: dtc-flattree.patch
Patch3: dtc-license.patch
%description
@ -60,9 +58,7 @@ Requires: libfdt1 = %{version}
This package provides development files for libfdt
%prep
%setup -q -n dtc
%patch1
%patch2
%setup -q
%patch3
%build
@ -71,7 +67,6 @@ make %{?_smp_mflags}
%install
%makeinstall PREFIX=/usr LIBDIR=%{_libdir}
install -m 644 libfdt/libfdt_env.h $RPM_BUILD_ROOT/%{_includedir}
mv %{buildroot}/%{_bindir}/ftdump %{buildroot}/%{_bindir}/dtc-ftdump
rm -f %{buildroot}/%{_libdir}/*.a
%files
@ -80,7 +75,9 @@ rm -f %{buildroot}/%{_libdir}/*.a
%{_bindir}/convert-dtsv0
%{_bindir}/dtc
%{_bindir}/dtdiff
%{_bindir}/dtc-ftdump
%{_bindir}/fdtdump
%{_bindir}/fdtget
%{_bindir}/fdtput
%files -n libfdt1
%defattr(-,root,root,-)