Skip to contentSkip to conversation

pkgconf: upgrade 3.0.3 -> 3.0.4

PATCH New Ross Burton 1 participant 1 message Jul 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pkgconf: upgrade 3.0.3 -> 3.0.4

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.

---
 .../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%)
meta/recipes-devtools/pkgconf/pkgconf_3.0.4.bb renamed from meta/recipes-devtools/pkgconf/pkgconf_3.0.3.bb +1 -1
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
@@ -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
Signature · 1 line
2.43.0