commit:     26896413cb8cad59dc57772b67a663a08a8d7eac
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 19:46:13 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 19:46:13 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26896413

dev-util/pkgconf: drop obsolete darwin patch

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch | 24 ----------------------
 dev-util/pkgconf/pkgconf-1.7.4.ebuild              |  2 --
 dev-util/pkgconf/pkgconf-1.8.0.ebuild              |  2 --
 3 files changed, 28 deletions(-)

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 f41de43b97c..00000000000
--- 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;

diff --git a/dev-util/pkgconf/pkgconf-1.7.4.ebuild 
b/dev-util/pkgconf/pkgconf-1.7.4.ebuild
index 28f583d94f5..edfc4c30bd4 100644
--- a/dev-util/pkgconf/pkgconf-1.7.4.ebuild
+++ b/dev-util/pkgconf/pkgconf-1.7.4.ebuild
@@ -40,8 +40,6 @@ MULTILIB_CHOST_TOOLS=(
 src_prepare() {
        default
 
-       [[ ${CHOST} == *-darwin9 ]] && eapply 
"${FILESDIR}"/${PN}-1.7.3-darwin9.patch
-
        [[ ${PV} == "9999" ]] && eautoreconf
        if use pkg-config; then
                MULTILIB_CHOST_TOOLS+=(

diff --git a/dev-util/pkgconf/pkgconf-1.8.0.ebuild 
b/dev-util/pkgconf/pkgconf-1.8.0.ebuild
index 5be8ccdbf79..257e865e259 100644
--- a/dev-util/pkgconf/pkgconf-1.8.0.ebuild
+++ b/dev-util/pkgconf/pkgconf-1.8.0.ebuild
@@ -40,8 +40,6 @@ MULTILIB_CHOST_TOOLS=(
 src_prepare() {
        default
 
-       [[ ${CHOST} == *-darwin9 ]] && eapply 
"${FILESDIR}"/${PN}-1.7.3-darwin9.patch
-
        [[ ${PV} == "9999" ]] && eautoreconf
        if use pkg-config; then
                MULTILIB_CHOST_TOOLS+=(

Reply via email to