From 598b0256a354cb2e65ea240e50662d4378f5462c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 14 Oct 2017 00:05:03 +0300 Subject: Merge with latest original package version (master branch) --- libpkgconf/tuple.c.orig | 1 + 1 file changed, 1 insertion(+) (limited to 'libpkgconf/tuple.c.orig') diff --git a/libpkgconf/tuple.c.orig b/libpkgconf/tuple.c.orig index b0cda45..0b22b9a 100644 --- a/libpkgconf/tuple.c.orig +++ b/libpkgconf/tuple.c.orig @@ -292,6 +292,7 @@ pkgconf_tuple_parse(const pkgconf_client_t *client, pkgconf_list_t *vars, const */ if (*buf == '/' && client->sysroot_dir != NULL && + strcmp(client->sysroot_dir, "/") != 0 && strlen(buf) > strlen(client->sysroot_dir) && strstr(buf + strlen(client->sysroot_dir), client->sysroot_dir) != NULL) { -- cgit v1.1