diff --git a/memtest86+-4.00-fix-asciimap.patch b/memtest86+-4.00-fix-asciimap.patch new file mode 100644 index 0000000..b90fa6a --- /dev/null +++ b/memtest86+-4.00-fix-asciimap.patch @@ -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, ":"}, diff --git a/memtest86+.spec b/memtest86+.spec index 3d439fb..3d7025f 100644 --- a/memtest86+.spec +++ b/memtest86+.spec @@ -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 - 4.00-4 +- Fix ascii map of spd.c (#577469) + * Fri Dec 25 2009 Robert Scheck - 4.00-3 - Removed obsolete build requirement to compat-gcc-34 (#442285)