SHA256
1
0
forked from pool/dtc
OBS User unknown 2007-08-12 09:47:53 +00:00 committed by Git OBS Bridge
parent 0ccc41638a
commit cf03ca8cc2
5 changed files with 45 additions and 9 deletions

3
dtc-1.0.0.tar.bz2 Normal file
View File

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

View File

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

View File

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

View File

@ -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.
# This file and all modifications and additions to the pristine
@ -11,14 +11,15 @@
Name: dtc
URL: http://dtc.ozlabs.org/
Version: 17
Release: 18
Version: 1.0.0
Release: 1
Buildrequires: bison flex
Summary: device-tree compiler
License: GNU General Public License (GPL)
License: GPL v2 or later
Group: Development/Tools/Building
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: dtc-%{version}.tar.gz
Source: dtc-%{version}.tar.bz2
Patch: dtc.truncated_property.patch
%description
PowerPC kernels are moving towards requiring a small Open
@ -36,7 +37,8 @@ Authors:
David Gibson <dwg@au1.ibm.com>
%prep
%setup -q
%setup -q -n dtc
%patch -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
@ -53,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
/usr/bin/*
%changelog
* Fri Aug 10 2007 - olh@suse.de
- update to 1.0.0 final
- first official release
* Mon Jun 18 2007 - olh@suse.de
- update to current state
dtc: Fix recognition of whitespace characters

View 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();
}