Compare commits
2 Commits
6a84d70439
...
a265f8a42b
Author | SHA1 | Date |
---|---|---|
Ariadne Conill | a265f8a42b | |
Ariadne Conill | f0f28fa690 |
|
@ -457,6 +457,13 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE *
|
|||
if (idptr)
|
||||
*idptr = '\0';
|
||||
|
||||
if (pkg->flags & PKGCONF_PKG_PROPF_UNINSTALLED)
|
||||
{
|
||||
idptr = strrchr(pkg->id, '-');
|
||||
if (idptr)
|
||||
*idptr = '\0';
|
||||
}
|
||||
|
||||
pkgconf_parser_parse(f, pkg, pkg_parser_funcs, (pkgconf_parser_warn_func_t) pkg_warn_func, pkg->filename);
|
||||
|
||||
if (!pkgconf_pkg_validate(client, pkg))
|
||||
|
|
|
@ -23,6 +23,7 @@ tests_init \
|
|||
idirafter_munge_order \
|
||||
idirafter_munge_sysroot \
|
||||
idirafter_ordering \
|
||||
modversion_uninstalled \
|
||||
pcpath \
|
||||
virtual_variable \
|
||||
fragment_collision \
|
||||
|
@ -273,3 +274,9 @@ billion_laughs_body()
|
|||
atf_check -o inline:"warning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\nwarning: truncating very long variable to 64KB\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --validate billion-laughs
|
||||
}
|
||||
|
||||
modversion_uninstalled_body()
|
||||
{
|
||||
atf_check -o inline:"1.2.3\n" \
|
||||
pkgconf --with-path="${selfdir}/lib1" --modversion omg
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue