diff mbox series

pkgconf: upgrade 3.0.3 -> 3.0.4

Message ID 20260722101206.3418075-1-ross.burton@arm.com
State Under Review
Headers show
Series pkgconf: upgrade 3.0.3 -> 3.0.4 | expand

Commit Message

Ross Burton July 22, 2026, 10:12 a.m. UTC
Changes from 3.0.3 to 3.0.4:
----------------------------

* Fix a crash (stack overflow) triggered by a crafted .pc file containing a
  self-referential fragment variable, such as `x=$${x}` referenced from Cflags.
  Fragment variables are now evaluated only once while re-splitting.  Found
  through fuzzing.

* Fix over-escaping of variable values containing backslash-escaped whitespace,
  such as paths quoted with `printf %q`.  Such a value was stored with its
  escapes intact and then escaped a second time when rendered into a fragment,
  producing output like `-L/a\\\ dir`.  This broke meson's test suite, which
  uses paths with spaces to stay Windows-safe.

* Fix mangled and duplicated -L/-I paths on Windows when PKG_CONFIG_SYSROOT_DIR
  and PKG_CONFIG_LIBDIR are set.  Path separators are now normalized to forward
  slashes for all runtime-injected paths (sysroot, build root, search paths and
  pcfiledir), so that sysroot matching and injection operate on a consistent
  basis.

* Fix `--define-prefix` dropping a path separator when the redefined prefix ends
  with a trailing slash, and only rewrite a package's directories when they match
  the original prefix on a path component boundary.

* Fix single-package queries returning results drawn from more than the requested
  module, by restoring the package limit that was lost during a refactor of the
  query builder.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../pkgconf/{pkgconf_3.0.3.bb => pkgconf_3.0.4.bb}              | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/pkgconf/{pkgconf_3.0.3.bb => pkgconf_3.0.4.bb} (97%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/pkgconf/pkgconf_3.0.3.bb b/meta/recipes-devtools/pkgconf/pkgconf_3.0.4.bb
similarity index 97%
rename from meta/recipes-devtools/pkgconf/pkgconf_3.0.3.bb
rename to meta/recipes-devtools/pkgconf/pkgconf_3.0.4.bb
index dfb6919ff71..0abd0fa923c 100644
--- a/meta/recipes-devtools/pkgconf/pkgconf_3.0.3.bb
+++ b/meta/recipes-devtools/pkgconf/pkgconf_3.0.4.bb
@@ -20,7 +20,7 @@  SRC_URI = "\
     file://pkg-config-native.in \
     file://pkg-config-esdk.in \
 "
-SRC_URI[sha256sum] = "aa033abb2b777ba4e66635495a931e53c49d86e4e4e38af68c0f76d666cbd8cf"
+SRC_URI[sha256sum] = "91ce346b47f46b87d680c6928e6c43240b9cdc7a31afbea19f2298de4dbe266d"
 UPSTREAM_CHECK_REGEX = "pkgconf-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)\.tar"
 
 inherit autotools pkgconfig