- Fix ascii map of spd.c (#577469)

This commit is contained in:
Anton Arapov 2010-04-02 12:18:51 +00:00
parent 7cd78edc2d
commit 2411431f30
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,12 @@
diff --git a/spd.c b/spd.c
index 0cdfe1e..b99dd90 100644
--- a/spd.c
+++ b/spd.c
@@ -481,6 +481,7 @@ struct ascii_map amap[] = {
{ 0x34, "4"},
{ 0x35, "5"},
{ 0x36, "6"},
+{ 0x37, "7"},
{ 0x38, "8"},
{ 0x39, "9"},
{ 0x3A, ":"},

View File

@ -7,13 +7,14 @@
Name: memtest86+
Version: 4.00
Release: 3%{?dist}
Release: 4%{?dist}
License: GPLv2
Summary: Stand-alone memory tester for x86 and x86-64 computers
Group: System Environment/Base
Source0: http://www.memtest.org/download/%{version}/%{name}-%{version}.tar.gz
Source1: memtest-setup
Source2: new-memtest-pkg
Patch0: memtest86+-4.00-fix-asciimap.patch
URL: http://www.memtest.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# require glibc-devel.i386 via this file:
@ -39,6 +40,7 @@ to add the %{name} entry to your GRUB boot menu.
%prep
%setup -q
sed -i -e's,0x10000,0x100000,' memtest.lds
%patch0 -p1 -b .fix_asciimap
%build
# Regular build flags not wanted for this binary
@ -83,6 +85,9 @@ rm -rf %{buildroot}
%changelog
* Tue Mar 30 2010 Anton Arapov <anton@redhat.com> - 4.00-4
- Fix ascii map of spd.c (#577469)
* Fri Dec 25 2009 Robert Scheck <robert@fedoraproject.org> - 4.00-3
- Removed obsolete build requirement to compat-gcc-34 (#442285)