summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPPed72 <paolo.pedroni@iol.it>2020-11-19 18:09:50 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-08-13 15:22:36 +0200
commitc08f36620da95e3f707a57b068bcd4ef5cb8e6e6 (patch)
treef4bff9df38e5d508e4aca2072c1c57f8771044c6 /sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch
parentprofiles: stable.{un}mask app-crypt/pinentry[efl] (diff)
downloadgentoo-c08f36620da95e3f707a57b068bcd4ef5cb8e6e6.tar.gz
gentoo-c08f36620da95e3f707a57b068bcd4ef5cb8e6e6.tar.bz2
gentoo-c08f36620da95e3f707a57b068bcd4ef5cb8e6e6.zip
sys-apps/memtest86+: version bump to 5.31b
Closes: https://bugs.gentoo.org/728766 Signed-off-by: Paolo Pedroni <paolo.pedroni@iol.it> Package-Manager: Portage-3.0.9, Repoman-3.0.2 Closes: https://github.com/gentoo/gentoo/pull/18324 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch')
-rw-r--r--sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch b/sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch
new file mode 100644
index 000000000000..9398c4163a4d
--- /dev/null
+++ b/sys-apps/memtest86+/files/memtest86+-5.31b-objcopy.patch
@@ -0,0 +1,21 @@
+Allow 'objcopy' override with user's OBJCOPY.
+
+--- a/Makefile
++++ b/Makefile
+@@ -8,6 +8,7 @@
+ # Path for the floppy disk device
+ #
+ FDISK=/dev/fd0
++OBJCOPY=objcopy
+
+ CFLAGS= -Wall -Werror -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
+ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
+@@ -36,7 +37,7 @@
+ $(LD) -shared -Bsymbolic -T memtest_shared.lds -o $@ $(OBJS)
+
+ memtest_shared.bin: memtest_shared
+- objcopy -O binary $< memtest_shared.bin
++ $(OBJCOPY) -O binary $< memtest_shared.bin
+
+ memtest: memtest_shared.bin memtest.lds
+ $(LD) -s -T memtest.lds -b binary memtest_shared.bin -o $@