summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-16 15:28:58 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-16 15:29:39 -0500
commit073fa98637f186287e871249302badd0893f5f15 (patch)
tree522f703ce3ac2d5630ea31a64eaa812799145105 /sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch
parentapp-misc/livecd-tools: sync live ebuild (diff)
downloadgentoo-073fa98637f186287e871249302badd0893f5f15.tar.gz
gentoo-073fa98637f186287e871249302badd0893f5f15.tar.bz2
gentoo-073fa98637f186287e871249302badd0893f5f15.zip
sys-apps/memtest86: add fixes from memtest86+ #568292
This fixes building w/gcc-5 and parallel build races.
Diffstat (limited to 'sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch')
-rw-r--r--sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch b/sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch
new file mode 100644
index 000000000000..be9e35347fe7
--- /dev/null
+++ b/sys-apps/memtest86/files/memtest86-4.3.7-reboot-def.patch
@@ -0,0 +1,13 @@
+the reboot func is used elsewhere, so don't mark it inline
+
+--- a/lib.c
++++ b/lib.c
+@@ -33,7 +33,7 @@ struct ascii_map_str {
+ int keycode;
+ };
+
+-inline void reboot(void)
++void reboot(void)
+ {
+
+ /* tell the BIOS to do a cold start */