aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--local/etc/portage/bashrc10
1 files changed, 5 insertions, 5 deletions
diff --git a/local/etc/portage/bashrc b/local/etc/portage/bashrc
index 1005abba..c9bdb255 100644
--- a/local/etc/portage/bashrc
+++ b/local/etc/portage/bashrc
@@ -36,7 +36,7 @@ darwin_epatch_vasnprintf() {
if [[ "${PWD}" =~ /(dev-util/pkgconfig|dev-vcs/cvs)- ]]; then
einfo "Skipping vasnprintf() patching for specifically patched package ${CATEGORY}/${PN}"
- elif type -pf patch >/dev/null 2>&1 && [[ -r "${EPREFIX:-}"/etc/portage/patches/all/vasnprintf.patch ]]; then
+ elif type -pf patch >/dev/null 2>&1 && [[ -r "${EPREFIX:-}"/etc/portage/patches/All/vasnprintf.patch ]]; then
ebegin "Checking source for 'vasnprintf()' source"
local d f
@@ -45,13 +45,13 @@ darwin_epatch_vasnprintf() {
eend 1 "vasnprintf source found"
ewarn "Found vasnprintf.c in directory '$( readlink -e "${d}" 2>/dev/null || echo "${d}" )'"
if pushd "${d}" >/dev/null 2>&1; then
- if patch -stNp2 --dry-run -i "${EPREFIX:-}"/etc/portage/patches/all/vasnprintf.patch; then
+ if patch -stNp2 --dry-run -i "${EPREFIX:-}"/etc/portage/patches/All/vasnprintf.patch; then
ebegin "Applying 'vasnprintf()' patch for macOS High Sierra"
- patch -stNp2 --backup-if-mismatch -i "${EPREFIX:-}"/etc/portage/patches/all/vasnprintf.patch
+ patch -stNp2 --backup-if-mismatch -i "${EPREFIX:-}"/etc/portage/patches/All/vasnprintf.patch
eend ${?} "'vasnprintf()' patch failed to apply in directory '$( pwd )'" # &&
#echo "${CATEGORY}/${PVR} patched" >> "${EPREFIX:-}"/etc/portage/patches/vasnprintf.log
else
- eerror "'vasnprintf()' patch for macOS High Sierra at '${EPREFIX:-}/etc/portage/patches/all/vasnprintf.patch' is not compatible with code in directory '$( pwd )'"
+ eerror "'vasnprintf()' patch for macOS High Sierra at '${EPREFIX:-}/etc/portage/patches/All/vasnprintf.patch' is not compatible with code in directory '$( pwd )'"
#echo "${CATEGORY}/${PVR} incompatible" >> "${EPREFIX:-}"/etc/portage/patches/vasnprintf.log
fi
popd >/dev/null 2>&1 || die "Could not store original directory"
@@ -61,7 +61,7 @@ darwin_epatch_vasnprintf() {
else
eend 0 "No instance of 'vasnprintf.c' found"
fi
- done < <( find . -type d -name lib -print )
+ done < <( find . -type d -name lib -or -name gnulib -print )
else
eerror "Cannot find pre-requisites required to patch 'vasnprintf()' source for macOS High Sierra"
fi