Accepting request 292543 from home:elvigia:branches:Base:System

- memtest86+-gcc5.patch: Use -fgnu89-inline, fix build with 
  GCC5, code relies on old inline semantics.

OBS-URL: https://build.opensuse.org/request/show/292543
OBS-URL: https://build.opensuse.org/package/show/Base:System/memtest86+?expand=0&rev=26
This commit is contained in:
Thomas Renninger 2015-03-24 10:33:03 +00:00 committed by Git OBS Bridge
parent 71db752bea
commit 550f27868a
3 changed files with 19 additions and 1 deletions

11
memtest86+-gcc5.patch Normal file
View File

@ -0,0 +1,11 @@
--- memtest86+-5.01.orig/Makefile
+++ memtest86+-5.01/Makefile
@@ -14,7 +14,7 @@ AS=as -32
CC=gcc
CFLAGS= -Wall -march=i486 -m32 -O0 -fomit-frame-pointer -fno-builtin \
- -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector
+ -ffreestanding -fPIC $(SMP_FL) -fno-stack-protector -fgnu89-inline
OBJS= head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o \
config.o cpuid.o linuxbios.o pci.o memsize.o spd.o error.o dmi.o controller.o \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 23 23:46:06 UTC 2015 - crrodriguez@opensuse.org
- memtest86+-gcc5.patch: Use -fgnu89-inline, fix build with
GCC5, code relies on old inline semantics.
-------------------------------------------------------------------
Sun Feb 22 10:56:57 UTC 2015 - meissner@suse.com

View File

@ -40,6 +40,7 @@ Patch0: fix-destdir
Patch1: memtest86+-5.01-no-optimization.patch
Patch2: memtest86+-5.01-compile-fix.patch
Patch3: memtest86+-5.01-array-size-fix.patch
Patch4: memtest86+-gcc5.patch
Summary: Memory Testing Image for x86 Architecture
License: BSD-3-Clause
Group: System/Boot
@ -54,7 +55,7 @@ booted, it can be used to test the computer's memory.
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
make