system/memtest86+: Updated for version 5.01.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Willy Sudiarto Raharjo 2016-02-04 20:57:49 +07:00
parent 7de5b7a424
commit 57dc20a142
4 changed files with 7 additions and 25 deletions

View file

@ -2,9 +2,4 @@ Memtest86+ is thorough, stand alone memory test for Intel/AMD x86
architecture systems. BIOS based memory tests are only a quick check
and often miss failures that are detected by Memtest86+.
Compilation may fail on 64-bit Slackware due to missing
/usr/include/gnu/stubs-32.h from glibc. If you experience this problem,
copy that file from stubs-64.h in the same directory (or create a symlink),
and you may delete your copy/symlink after you have created the package.
See README.SLACKWARE for setup information.

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=memtest86+
VERSION=${VERSION:-4.20}
VERSION=${VERSION:-5.01}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -50,11 +50,9 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix false positives in test #7
# https://bugzilla.novell.com/show_bug.cgi?id=773569
patch -p1 < $CWD/patches/asm-inline-fix.diff
sed -i "s|scp memtest.bin root@192.168.0.12:/srv/tftp/mt86plus||" Makefile
make CC="gcc -fgnu89-inline"
install -D -m 0644 memtest.bin $PKG/boot/memtest86+.bin

View file

@ -1,9 +1,9 @@
PRGNAM="memtest86+"
VERSION="4.20"
VERSION="5.01"
HOMEPAGE="http://www.memtest.org/"
DOWNLOAD="http://www.memtest.org/download/4.20/memtest86+-4.20.tar.gz"
MD5SUM="ef62c2f5be616676c8c62066dedc46b3"
DOWNLOAD_x86_64=""
DOWNLOAD="http://www.memtest.org/download/5.01/memtest86+-5.01.tar.gz"
MD5SUM="43c5832baa919e1206e251e735cdee2d"
DOWNLOAD_x86_64="UNSUPPORTED"
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Kyle Guinn"

View file

@ -1,11 +0,0 @@
--- memtest86+-4.20/test.c.orig 2011-01-23 19:11:04.000000000 +0100
+++ memtest86+-4.20/test.c 2012-10-05 14:57:19.000000000 +0200
@@ -313,7 +313,7 @@ void movinvr()
"jb L200\n\t"
: "=D" (p)
: "D" (p), "b" (pe)
- : "eax", "edx"
+ : "eax", "ecx", "edx"
);
do_tick();