Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lzo for openSUSE:Factory checked in 
at 2021-02-07 15:14:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lzo (Old)
 and      /work/SRC/openSUSE:Factory/.lzo.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lzo"

Sun Feb  7 15:14:06 2021 rev:39 rq:868545 version:2.10

Changes:
--------
--- /work/SRC/openSUSE:Factory/lzo/lzo.changes  2019-12-02 11:26:27.854691571 
+0100
+++ /work/SRC/openSUSE:Factory/.lzo.new.28504/lzo.changes       2021-02-07 
15:14:14.513400741 +0100
@@ -1,0 +2,5 @@
+Tue Jan 26 08:33:22 UTC 2021 - Dirk M??ller <dmuel...@suse.com>
+
+- add lzo-2.08-rhbz1309225.patch to avoid aliasing issues 
+
+-------------------------------------------------------------------

New:
----
  lzo-2.08-rhbz1309225.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lzo.spec ++++++
--- /var/tmp/diff_new_pack.KTdsRQ/_old  2021-02-07 15:14:15.089401357 +0100
+++ /var/tmp/diff_new_pack.KTdsRQ/_new  2021-02-07 15:14:15.093401361 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package lzo
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -23,9 +23,10 @@
 Summary:        A Real-Time Data Compression Library
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            http://www.oberhumer.com/opensource/lzo/
-Source:         
http://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz
+URL:            https://www.oberhumer.com/opensource/lzo/
+Source:         
https://www.oberhumer.com/opensource/%{name}/download/%{name}-%{version}.tar.gz
 Source2:        baselibs.conf
+Patch1:         
https://src.fedoraproject.org/rpms/lzo/raw/master/f/lzo-2.08-rhbz1309225.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig
 
@@ -72,10 +73,11 @@
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
-export CFLAGS="%{optflags} -fvisibility=hidden -fno-strict-aliasing"
+export CFLAGS="%{optflags} -fvisibility=hidden"
 %configure --enable-shared \
            --enable-static \
            --disable-silent-rules \

++++++ lzo-2.08-rhbz1309225.patch ++++++
diff -up lzo-2.08/include/lzo/lzodefs.h.rhbz1309225 
lzo-2.08/include/lzo/lzodefs.h
--- lzo-2.08/include/lzo/lzodefs.h.rhbz1309225  2016-02-19 13:38:02.604220910 
+0100
+++ lzo-2.08/include/lzo/lzodefs.h      2016-02-19 13:37:30.619073085 +0100
@@ -1686,6 +1686,10 @@ extern "C" {
 #  define __lzo_byte_struct_ma(s,n)     struct s { unsigned char a[n]; } 
__lzo_may_alias __attribute__((__packed__));
 #endif
 #endif
+#if (LZO_CC_GNUC >= 0x060000ul) && defined(__lzo_byte_struct_ma)
+#  undef __lzo_byte_struct
+#  define __lzo_byte_struct(s,n)        __lzo_byte_struct_ma(s,n)
+#endif
 #if defined(__lzo_byte_struct) &&  !defined(__lzo_byte_struct_ma)
 #  define __lzo_byte_struct_ma(s,n)     __lzo_byte_struct(s,n)
 #endif

Reply via email to