diff --git a/syslinux-4.04-lzo.diff b/syslinux-4.04-lzo.diff new file mode 100644 index 0000000..e342183 --- /dev/null +++ b/syslinux-4.04-lzo.diff @@ -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) diff --git a/syslinux.changes b/syslinux.changes index a05221f..9f49a52 100644 --- a/syslinux.changes +++ b/syslinux.changes @@ -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 diff --git a/syslinux.spec b/syslinux.spec index 86d8402..a32e147 100644 --- a/syslinux.spec +++ b/syslinux.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 Patch21: sysmacros.patch Patch22: remove-note-gnu-section.patch +Patch23: %{name}-%{version}-lzo.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -99,6 +100,7 @@ Authors: %patch20 -p0 %patch21 -p1 %patch22 -p1 +%patch23 -p0 %build cp %{SOURCE2} .