SHA256
1
0
forked from pool/syslinux

- fix lzo memory aliasing issue (bsc#1125616)

OBS-URL: https://build.opensuse.org/package/show/system:install:head/syslinux?expand=0&rev=99
This commit is contained in:
Steffen Winterfeldt 2019-02-18 13:56:21 +00:00 committed by Git OBS Bridge
parent 2b36079380
commit 2998b34306
3 changed files with 20 additions and 2 deletions

11
syslinux-4.04-lzo.diff Normal file
View File

@ -0,0 +1,11 @@
--- lzo/Makefile
+++ lzo/Makefile
@@ -19,6 +19,8 @@
LIB = lzo.a
BINS = prepcore
+OPTFLAGS += -fno-strict-aliasing
+
all : $(BINS)
$(LIB) : $(LIBOBJS)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 18 13:53:18 UTC 2019 - snwint@suse.com
- fix lzo memory aliasing issue (bsc#1125616)
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Nov 28 09:03:05 UTC 2018 - Martin Liška <mliska@suse.cz> Wed Nov 28 09:03:05 UTC 2018 - Martin Liška <mliska@suse.cz>

View File

@ -1,7 +1,7 @@
# #
# spec file for package syslinux # spec file for package syslinux
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
@ -61,6 +61,7 @@ Patch19: syslinux-4.04-reproducible.patch
Patch20: %{name}-%{version}-python3.diff Patch20: %{name}-%{version}-python3.diff
Patch21: sysmacros.patch Patch21: sysmacros.patch
Patch22: remove-note-gnu-section.patch Patch22: remove-note-gnu-section.patch
Patch23: %{name}-%{version}-lzo.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -99,6 +100,7 @@ Authors:
%patch20 -p0 %patch20 -p0
%patch21 -p1 %patch21 -p1
%patch22 -p1 %patch22 -p1
%patch23 -p0
%build %build
cp %{SOURCE2} . cp %{SOURCE2} .