This commit is contained in:
parent
d4e9bbf435
commit
7bd2925acf
@ -1,25 +0,0 @@
|
||||
From: Bernhard Walle <bwalle@suse.de>
|
||||
Subject: [PATCH] Fix compilation warning
|
||||
|
||||
This patch fixes following compilation warning:
|
||||
|
||||
purgatory/purgatory.c:21: warning: passing argument 2 of 'sha256_update' makes pointer from integer without a cast
|
||||
|
||||
|
||||
Signed-off-by: Bernhard Walle <bwalle@suse.de>
|
||||
|
||||
---
|
||||
purgatory/purgatory.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/purgatory/purgatory.c
|
||||
+++ b/purgatory/purgatory.c
|
||||
@@ -18,7 +18,7 @@ void verify_sha256_digest(void)
|
||||
sha256_starts(&ctx);
|
||||
end = &sha256_regions[sizeof(sha256_regions)/sizeof(sha256_regions[0])];
|
||||
for(ptr = sha256_regions; ptr < end; ptr++) {
|
||||
- sha256_update(&ctx, ptr->start, ptr->len);
|
||||
+ sha256_update(&ctx, (uint8_t *)((uintptr_t)ptr->start), ptr->len);
|
||||
}
|
||||
sha256_finish(&ctx, digest);
|
||||
if (memcmp(digest, sha256_digest, sizeof(digest)) != 0) {
|
3
kexec-tools-testing-20080227-git.tar.bz2
Normal file
3
kexec-tools-testing-20080227-git.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c2b7ff27b59f418f5030874915830039e884eac69b108f8c6cdf916d8997c2fb
|
||||
size 268549
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:da08a3cc70884c653a3a3a27d8dd546dddbc354aeed88ca1baca77a36e6dbf24
|
||||
size 251636
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 14 17:30:53 CET 2008 - bwalle@suse.de
|
||||
|
||||
- update to kexec-tools-testing v20080227-git
|
||||
(current git snapshot, fixes x86_64, bnc#368138)
|
||||
- kexec-tools-portability-issue deleted: mainline
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 27 08:09:08 CET 2008 - bwalle@suse.de
|
||||
|
||||
|
@ -16,14 +16,14 @@ Name: kexec-tools
|
||||
%ifarch ppc
|
||||
BuildRequires: gcc-64bit glibc-devel-64bit
|
||||
%endif
|
||||
%define package_version testing-20080227
|
||||
%define package_version testing-20080227-git
|
||||
License: GPL v2 or later
|
||||
Group: System/Kernel
|
||||
Requires: %insserv_prereq %fillup_prereq
|
||||
AutoReqProv: on
|
||||
Summary: Tools for fast kernel loading
|
||||
Version: 1.101
|
||||
Release: 176
|
||||
Release: 179
|
||||
Source: %{name}-%{package_version}.tar.bz2
|
||||
Source1: README.SUSE
|
||||
Url: http://ftp.kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
||||
@ -31,7 +31,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: zlib-devel
|
||||
Patch1: kexec-tools.ppc32-64bit-purgatory.patch
|
||||
Patch2: kexec-tools.gcc-bug.patch
|
||||
Patch3: kexec-tools-portability-issue
|
||||
|
||||
%description
|
||||
Kexec is a user space utility for loading another kernel and asking the
|
||||
@ -54,7 +53,6 @@ Authors:
|
||||
%setup -q -n kexec-tools-%{package_version}
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%{?suse_update_config -f}
|
||||
@ -90,6 +88,10 @@ install -c -m 0644 kexec/kexec.8 $RPM_BUILD_ROOT%{_mandir}/man8
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Fri Mar 14 2008 bwalle@suse.de
|
||||
- update to kexec-tools-testing v20080227-git
|
||||
(current git snapshot, fixes x86_64, bnc#368138)
|
||||
- kexec-tools-portability-issue deleted: mainline
|
||||
* Wed Feb 27 2008 bwalle@suse.de
|
||||
- update to kexec-tools-testing v20080227
|
||||
(only increased version number)
|
||||
|
Loading…
Reference in New Issue
Block a user