summaryrefslogtreecommitdiff
path: root/system/memtest86+/memtest86+.SlackBuild
diff options
context:
space:
mode:
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