mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
system/memtest86: Patch for newer binutils
Signed-off-by: Kyle Guinn <elyk03@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
43ef5db833
commit
94ee9c073d
2 changed files with 14 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for memtest86
|
||||
|
||||
# Copyright 2012-2019 Kyle Guinn <elyk03@gmail.com>
|
||||
# Copyright 2012-2022 Kyle Guinn <elyk03@gmail.com>
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=memtest86
|
||||
VERSION=${VERSION:-4.3.7}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -78,6 +78,9 @@ patch -p1 < $CWD/patches/makefile.diff
|
|||
# https://bugs.debian.org/779504 -> https://bugs.debian.org/629506
|
||||
patch -p1 < $CWD/patches/bug_629506_message_15.mbox
|
||||
|
||||
# https://bugzilla.opensuse.org/show_bug.cgi?id=1185272
|
||||
patch -p1 < $CWD/patches/discard-note_gnu_property.patch
|
||||
|
||||
# TBD whether these memtest86+ patches should be backported:
|
||||
# https://sources.debian.org/patches/memtest86+/5.01-3/
|
||||
# https://bugs.debian.org/250864 suggests that it could be backported.
|
||||
|
|
9
system/memtest86/patches/discard-note_gnu_property.patch
Normal file
9
system/memtest86/patches/discard-note_gnu_property.patch
Normal file
|
@ -0,0 +1,9 @@
|
|||
--- a/memtest.bin.lds 2020-04-12 17:14:51.000000000 +0200
|
||||
+++ b/memtest.bin.lds 2021-12-04 14:54:33.178625382 +0100
|
||||
@@ -11,5 +11,6 @@
|
||||
*(.data)
|
||||
_end = . ;
|
||||
}
|
||||
+ /DISCARD/ : { *(.note.gnu.property) }
|
||||
_syssize = (_end - _start + 15) >> 4;
|
||||
}
|
Loading…
Reference in a new issue