Files
MINGW-packages/mingw-w64-pkgconf/0005-fix-version-validate.patch
T
Christoph Reiter a3ae8d33c1 pkgconf: more fixes
Instead of normalizing paths at the end, do it when adding them to
to the pc file, to avoid breaking backslashes used for escaping.

Also fix version field validation.

With this the meson test suite passes.

See #7263
2020-11-22 13:18:35 +01:00

12 lines
331 B
Diff

--- pkgconf-1.7.3/libpkgconf/pkg.c.orig 2020-05-26 21:41:17.000000000 +0200
+++ pkgconf-1.7.3/libpkgconf/pkg.c 2020-11-21 22:24:46.941942300 +0100
@@ -100,7 +100,7 @@
p = pkgconf_tuple_parse(client, &pkg->vars, value);
len = strcspn(p, " \t");
- if (len)
+ if (len != strlen(p))
{
i = p + (ptrdiff_t) len;
*i = '\0';