This commit is contained in:
parent
0ccc41638a
commit
cf03ca8cc2
3
dtc-1.0.0.tar.bz2
Normal file
3
dtc-1.0.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9081fad5614701509786454dfe124bfec6fac4d371ed92e5d760810d13eb5543
|
||||||
|
size 57464
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:627127accbe7d55f1cd98700455499c299ed27cb5a3f49ab94cea84d16b9ed93
|
|
||||||
size 57915
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 10 23:09:22 CEST 2007 - olh@suse.de
|
||||||
|
|
||||||
|
- update to 1.0.0 final
|
||||||
|
- first official release
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 18 18:14:47 CEST 2007 - olh@suse.de
|
Mon Jun 18 18:14:47 CEST 2007 - olh@suse.de
|
||||||
|
|
||||||
|
17
dtc.spec
17
dtc.spec
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package dtc (Version 17)
|
# spec file for package dtc (Version 1.0.0)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
# This file and all modifications and additions to the pristine
|
# This file and all modifications and additions to the pristine
|
||||||
@ -11,14 +11,15 @@
|
|||||||
|
|
||||||
Name: dtc
|
Name: dtc
|
||||||
URL: http://dtc.ozlabs.org/
|
URL: http://dtc.ozlabs.org/
|
||||||
Version: 17
|
Version: 1.0.0
|
||||||
Release: 18
|
Release: 1
|
||||||
Buildrequires: bison flex
|
Buildrequires: bison flex
|
||||||
Summary: device-tree compiler
|
Summary: device-tree compiler
|
||||||
License: GNU General Public License (GPL)
|
License: GPL v2 or later
|
||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Source: dtc-%{version}.tar.gz
|
Source: dtc-%{version}.tar.bz2
|
||||||
|
Patch: dtc.truncated_property.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PowerPC kernels are moving towards requiring a small Open
|
PowerPC kernels are moving towards requiring a small Open
|
||||||
@ -36,7 +37,8 @@ Authors:
|
|||||||
David Gibson <dwg@au1.ibm.com>
|
David Gibson <dwg@au1.ibm.com>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q -n dtc
|
||||||
|
%patch -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CFLAGS="$RPM_OPT_FLAGS"
|
make CFLAGS="$RPM_OPT_FLAGS"
|
||||||
@ -53,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
/usr/bin/*
|
/usr/bin/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 10 2007 - olh@suse.de
|
||||||
|
- update to 1.0.0 final
|
||||||
|
- first official release
|
||||||
* Mon Jun 18 2007 - olh@suse.de
|
* Mon Jun 18 2007 - olh@suse.de
|
||||||
- update to current state
|
- update to current state
|
||||||
dtc: Fix recognition of whitespace characters
|
dtc: Fix recognition of whitespace characters
|
||||||
|
25
dtc.truncated_property.patch
Normal file
25
dtc.truncated_property.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
tests/truncated_property.c:45: warning: 'err' is used uninitialized in this function
|
||||||
|
|
||||||
|
---
|
||||||
|
tests/truncated_property.c | 3 +--
|
||||||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||||
|
|
||||||
|
--- a/tests/truncated_property.c
|
||||||
|
+++ b/tests/truncated_property.c
|
||||||
|
@@ -33,7 +33,6 @@ int main(int argc, char *argv[])
|
||||||
|
{
|
||||||
|
void *fdt = &_truncated_property;
|
||||||
|
const void *prop;
|
||||||
|
- int err;
|
||||||
|
int len;
|
||||||
|
|
||||||
|
test_init(argc, argv);
|
||||||
|
@@ -43,7 +42,7 @@ int main(int argc, char *argv[])
|
||||||
|
FAIL("fdt_getprop() succeeded on truncated property");
|
||||||
|
if (len != -FDT_ERR_BADSTRUCTURE)
|
||||||
|
FAIL("fdt_getprop() failed with \"%s\" instead of \"%s\"",
|
||||||
|
- fdt_strerror(err), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
|
||||||
|
+ fdt_strerror(len), fdt_strerror(-FDT_ERR_BADSTRUCTURE));
|
||||||
|
|
||||||
|
PASS();
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user