Hello community, here is the log from the commit of package liblbxutil for openSUSE:Factory checked in at 2020-01-12 23:16:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/liblbxutil (Old) and /work/SRC/openSUSE:Factory/.liblbxutil.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liblbxutil" Sun Jan 12 23:16:44 2020 rev:9 rq:762023 version:1.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/liblbxutil/liblbxutil.changes 2013-04-17 07:14:22.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.liblbxutil.new.6675/liblbxutil.changes 2020-01-12 23:17:15.350657946 +0100 @@ -1,0 +2,7 @@ +Wed Jan 8 17:48:26 UTC 2020 - Stefan Dirsch <[email protected]> + +- u_fno-common.patch + * fix build with gcc's -fno-common option (boo#1160278) +- added baselibs.conf as source to specfile + +------------------------------------------------------------------- New: ---- u_fno-common.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ liblbxutil.spec ++++++ --- /var/tmp/diff_new_pack.B0OKmF/_old 2020-01-12 23:17:18.526659121 +0100 +++ /var/tmp/diff_new_pack.B0OKmF/_new 2020-01-12 23:17:18.534659124 +0100 @@ -1,7 +1,7 @@ # # spec file for package liblbxutil # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -28,6 +28,8 @@ #Git-Clone: git://anongit.freedesktop.org/xorg/lib/liblbxutil #Git-Web: http://cgit.freedesktop.org/xorg/lib/liblbxutil/ Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2 +Source1: baselibs.conf +Patch0: u_fno-common.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build #git#BuildRequires: autoconf >= 2.57, automake, libtool BuildRequires: pkgconfig @@ -65,6 +67,7 @@ %prep %setup -q +%patch0 -p1 %build %configure --disable-static ++++++ u_fno-common.patch ++++++ diff -u -r liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.c liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.c --- liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.c 2009-11-03 06:55:28.000000000 +0100 +++ liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.c 2020-01-08 18:42:27.748352503 +0100 @@ -55,7 +55,7 @@ #ifdef WIN32 #define _WILLWINSOCK_ #endif -#define _BSD_SOURCE +#define DEFAULT_SOURCE #include <X11/Xos.h> #include <X11/Xfuncs.h> #include <stdio.h> diff -u -r liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h --- liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h 2009-11-03 06:52:21.000000000 +0100 +++ liblbxutil-1.1.0/src/lbx_zlib/lbx_zlib.h 2020-01-08 18:38:26.711719446 +0100 @@ -136,9 +136,9 @@ #endif /* lbx_zlib.c */ -unsigned long stream_out_compressed; -unsigned long stream_out_uncompressed; -unsigned long stream_out_plain; -unsigned long stream_in_compressed; -unsigned long stream_in_uncompressed; -unsigned long stream_in_plain; +extern unsigned long stream_out_compressed; +extern unsigned long stream_out_uncompressed; +extern unsigned long stream_out_plain; +extern unsigned long stream_in_compressed; +extern unsigned long stream_in_uncompressed; +extern unsigned long stream_in_plain; diff -u -r liblbxutil-1.1.0/src/lbx_zlib/reqstats.c liblbxutil-1.1.0/src/lbx_zlib/reqstats.c --- liblbxutil-1.1.0/src/lbx_zlib/reqstats.c 2009-11-03 06:39:14.000000000 +0100 +++ liblbxutil-1.1.0/src/lbx_zlib/reqstats.c 2020-01-08 18:40:15.229805230 +0100 @@ -43,8 +43,8 @@ #define LBX_CODE 136 /* XXX - this should not be hardcoded - on todo list */ -extern unsigned long stream_in_compressed; -extern unsigned long stream_in_plain; +unsigned long stream_in_compressed; +unsigned long stream_in_plain; extern unsigned long stream_in_packet_header_bytes; extern unsigned long stream_in_uncompressed_bytes;
