From d162ba1860a88062f4cd61f8b52fc303ba0b2991 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 7 Aug 2021 00:16:33 +0100 Subject: gentoo resync : 07.08.2021 --- dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch (limited to 'dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch') diff --git a/dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch b/dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch deleted file mode 100644 index f41de43b97c5..000000000000 --- a/dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch +++ /dev/null @@ -1,24 +0,0 @@ -darwin9 does not malloc on NULL resolved_path - -https://github.com/pkgconf/pkgconf/pull/208 - ---- a/libpkgconf/path.c -+++ b/libpkgconf/path.c -@@ -92,15 +92,11 @@ - return; - if (S_ISLNK(st.st_mode)) - { -- char *linkdest = realpath(path, NULL); -+ char pathbuf[PATH_MAX]; -+ char *linkdest = realpath(path, pathbuf); - - if (linkdest != NULL && stat(linkdest, &st) == -1) -- { -- free(linkdest); - return; -- } -- -- free(linkdest); - } - if (path_list_contains_entry(path, dirlist, &st)) - return; -- cgit v1.2.3