summaryrefslogtreecommitdiffstats
path: root/system/memtest86+/memtest86+.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-02-24 08:51:13 +0100
committer Willy Sudiarto Raharjo2016-02-27 07:22:32 +0100
commitcb29b4e3eb334fca6a5b3b7d826f0440c57fb4f0 (patch)
treec256aa564ea72be3471a623aa703b3069b40159b /system/memtest86+/memtest86+.SlackBuild
parent7d9c6708261396236504b6396d4eb4e0b4307d75 (diff)
downloadslackbuilds-cb29b4e3eb334fca6a5b3b7d826f0440c57fb4f0.tar.gz
system/memtest86+: Downgraded to 4.20
Revert "system/memtest86+: Updated for version 5.01." This reverts commit 57dc20a14290de96af02e919c52eafcb8e100d3d.
Diffstat (limited to 'system/memtest86+/memtest86+.SlackBuild')
-rw-r--r--system/memtest86+/memtest86+.SlackBuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/system/memtest86+/memtest86+.SlackBuild b/system/memtest86+/memtest86+.SlackBuild
index fdd15a5a32..21c1961bbe 100644
--- a/system/memtest86+/memtest86+.SlackBuild
+++ b/system/memtest86+/memtest86+.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=memtest86+
-VERSION=${VERSION:-5.01}
+VERSION=${VERSION:-4.20}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,9 +50,11 @@ 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 {} \;
-sed -i "s|scp memtest.bin root@192.168.0.12:/srv/tftp/mt86plus||" Makefile
+# Fix false positives in test #7
+# https://bugzilla.novell.com/show_bug.cgi?id=773569
+patch -p1 < $CWD/patches/asm-inline-fix.diff
make CC="gcc -fgnu89-inline"
install -D -m 0644 memtest.bin $PKG/boot/memtest86+.bin