diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-util/pkgconf | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'dev-util/pkgconf')
| -rw-r--r-- | dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch | 24 | ||||
| -rw-r--r-- | dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild | 6 |
2 files changed, 28 insertions, 2 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 new file mode 100644 index 000000000000..f41de43b97c5 --- /dev/null +++ b/dev-util/pkgconf/files/pkgconf-1.7.3-darwin9.patch @@ -0,0 +1,24 @@ +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.3-r1.ebuild b/dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild index 858af22520ed..3923dd6417ea 100644 --- a/dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild +++ b/dev-util/pkgconf/pkgconf-1.7.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2012-2020 Gentoo Authors +# Copyright 2012-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -10,7 +10,7 @@ if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="https://git.sr.ht/~kaniini/pkgconf" else SRC_URI="http://distfiles.dereferenced.org/${PN}/${P}.tar.xz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~ppc-macos ~x64-macos" fi DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89" @@ -40,6 +40,8 @@ MULTILIB_CHOST_TOOLS=( src_prepare() { default + [[ ${CHOST} == *-darwin9 ]] && eapply "${FILESDIR}"/${P}-darwin9.patch + [[ ${PV} == "9999" ]] && eautoreconf if use pkg-config; then MULTILIB_CHOST_TOOLS+=( |
