diff options
Diffstat (limited to 'libpkgconf/fix-demunging-windows-paths.patch')
-rw-r--r-- | libpkgconf/fix-demunging-windows-paths.patch | 13 |
1 files changed, 13 insertions, 0 deletions
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); |