Hello community, here is the log from the commit of package libkdumpfile for openSUSE:Factory checked in at 2019-04-30 12:58:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libkdumpfile (Old) and /work/SRC/openSUSE:Factory/.libkdumpfile.new.5536 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libkdumpfile" Tue Apr 30 12:58:45 2019 rev:10 rq:697355 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libkdumpfile/libkdumpfile.changes 2017-06-12 15:33:47.860801645 +0200 +++ /work/SRC/openSUSE:Factory/.libkdumpfile.new.5536/libkdumpfile.changes 2019-04-30 12:58:47.630143375 +0200 @@ -1,0 +2,5 @@ +Tue Apr 9 22:02:51 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Add fix-build-with-recent-glibc.patch + +------------------------------------------------------------------- New: ---- fix-build-with-recent-glibc.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libkdumpfile.spec ++++++ --- /var/tmp/diff_new_pack.F9nKQe/_old 2019-04-30 12:58:48.270143882 +0200 +++ /var/tmp/diff_new_pack.F9nKQe/_new 2019-04-30 12:58:48.270143882 +0200 @@ -1,7 +1,7 @@ # # spec file for package libkdumpfile # -# Copyright (c) 2017 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 http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -36,10 +36,11 @@ Version: 0.3.0 Release: 0 Summary: Kernel dump file access library -License: LGPL-3.0+ or GPL-2.0+ +License: LGPL-3.0-or-later OR GPL-2.0-or-later Group: Development/Libraries/C and C++ Url: https://github.com/ptesarik/libkdumpfile Source: https://github.com/ptesarik/libkdumpfile/releases/download/v%version/%name-%version.tar.bz2 +Patch0: fix-build-with-recent-glibc.patch BuildRequires: lzo-devel BuildRequires: pkgconfig BuildRequires: zlib-devel @@ -118,6 +119,8 @@ %prep %setup -q +%patch0 -p1 + # Avoid autotools recheck after patching config* touch aclocal.m4 Makefile.in config.h.in configure ++++++ fix-build-with-recent-glibc.patch ++++++ diff --git a/include/kdumpfile.h.in b/include/kdumpfile.h.in index 62fd16d..c671c3b 100644 --- a/include/kdumpfile.h.in +++ b/include/kdumpfile.h.in @@ -34,6 +34,7 @@ #include <stddef.h> #include <stdint.h> #include <unistd.h> +#include <sys/sysmacros.h> #include "addrxlat.h"
