From 044ded722887357e4c9fff845e87c6db7e08f736 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 30 Jun 2020 11:42:25 +0300 Subject: Upgrade to 1.7.3 --- libpkgconf/fix-demunging-windows-paths.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 libpkgconf/fix-demunging-windows-paths.patch (limited to 'libpkgconf/fix-demunging-windows-paths.patch') diff --git a/libpkgconf/fix-demunging-windows-paths.patch b/libpkgconf/fix-demunging-windows-paths.patch new file mode 100644 index 0000000..c9f11f6 --- /dev/null +++ b/libpkgconf/fix-demunging-windows-paths.patch @@ -0,0 +1,13 @@ +diff --git a/libpkgconf/libpkgconf/pkg.c b/libpkgconf/libpkgconf/pkg.c +index 214f544..ba4fb5f 100644 +--- a/libpkgconf/libpkgconf/pkg.c ++++ b/libpkgconf/libpkgconf/pkg.c +@@ -391,7 +391,7 @@ pkgconf_pkg_new_from_file(pkgconf_client_t *client, const char *filename, FILE * + */ + char *mungeptr; + if ((mungeptr = strrchr(idptr, '/')) != NULL) +- idptr = mungeptr++; ++ idptr = ++mungeptr; + #endif + + pkg->id = strdup(idptr); -- cgit v1.1