Hello community, here is the log from the commit of package pkg-config for openSUSE:Factory checked in at 2019-02-06 14:04:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pkg-config (Old) and /work/SRC/openSUSE:Factory/.pkg-config.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "pkg-config" Wed Feb 6 14:04:35 2019 rev:35 rq:667741 version:0.29.2 Changes: -------- --- /work/SRC/openSUSE:Factory/pkg-config/pkg-config.changes 2018-03-12 12:02:35.955071413 +0100 +++ /work/SRC/openSUSE:Factory/.pkg-config.new.28833/pkg-config.changes 2019-02-06 14:04:40.534678828 +0100 @@ -1,0 +2,6 @@ +Sat Jan 19 00:34:20 UTC 2019 - bjorn.lie@gmail.com + +- Add pkg-config-Dont-emit-unknown-keyword-warning.patch: parse: + Don't emit unknown keyword warning for Libs.private. + +------------------------------------------------------------------- New: ---- pkg-config-Dont-emit-unknown-keyword-warning.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pkg-config.spec ++++++ --- /var/tmp/diff_new_pack.zX9nbQ/_old 2019-02-06 14:04:41.286678695 +0100 +++ /var/tmp/diff_new_pack.zX9nbQ/_new 2019-02-06 14:04:41.290678695 +0100 @@ -1,7 +1,7 @@ # # spec file for package pkg-config # -# 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 http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,6 +24,9 @@ Group: System/Packages URL: http://pkgconfig.freedesktop.org/ Source: http://pkgconfig.freedesktop.org/releases/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM pkg-config-Dont-emit-unknown-keyword-warning.patch -- parse: Don't emit unknown keyword warning for Libs.private +Patch0: pkg-config-Dont-emit-unknown-keyword-warning.patch + # Old name for version <= 0.17 and SuSE Linux <= 10.2 & CODE10 # Mandriva 2009 and Fedora 11 still use old name "pkgconfig" # pkg-config has a virtual internal pkg-config.pc file, so we should provide it @@ -36,7 +39,7 @@ against one or more libraries. %prep -%setup -q +%autosetup -p1 %build %configure\ ++++++ pkg-config-Dont-emit-unknown-keyword-warning.patch ++++++
From 2dd2b1994446e152b1e3e79c9233f62edba14877 Mon Sep 17 00:00:00 2001 From: Dan Nicholson <dbn.lists@gmail.com> Date: Fri, 7 Apr 2017 09:17:28 -0500 Subject: parse: Don't emit unknown keyword warning for Libs.private
Requires.private and Libs.private are skipped unless --static is in use. However, the parser was checking for Libs.private and this option in a single conditional unlike Requires.private. This was making the check fall through to the else and emit an "Unknown keyword" debug message when --static was not used. This was harmless but not true. https://bugs.freedesktop.org/show_bug.cgi?id=99770 --- parse.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/parse.c b/parse.c index 7bb666d..6e9907c 100644 --- a/parse.c +++ b/parse.c @@ -962,9 +962,11 @@ parse_line (Package *pkg, const char *untrimmed, const char *path, else goto cleanup; } - else if ((strcmp (tag, "Libs.private") == 0) && - ignore_private_libs == FALSE) - parse_libs_private (pkg, p, path); + else if (strcmp (tag, "Libs.private") == 0) + { + if (!ignore_private_libs) + parse_libs_private (pkg, p, path); + } else if (strcmp (tag, "Libs") == 0) parse_libs (pkg, p, path); else if (strcmp (tag, "Cflags") == 0 || -- cgit v1.1