diff options
-rw-r--r-- | app-portage/gentoolkit/files/0.3.0.9-fix-multiple-portageq-envvar-portdir-is-deprecated-warnings.patch | 12 | ||||
-rw-r--r-- | app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/app-portage/gentoolkit/files/0.3.0.9-fix-multiple-portageq-envvar-portdir-is-deprecated-warnings.patch b/app-portage/gentoolkit/files/0.3.0.9-fix-multiple-portageq-envvar-portdir-is-deprecated-warnings.patch new file mode 100644 index 00000000..892b378f --- /dev/null +++ b/app-portage/gentoolkit/files/0.3.0.9-fix-multiple-portageq-envvar-portdir-is-deprecated-warnings.patch @@ -0,0 +1,12 @@ +diff -Nur a/bin/euse b/bin/euse +--- a/bin/euse 2014-02-11 20:53:30.000000000 +0200 ++++ b/bin/euse 2014-12-10 07:53:36.876716157 +0200 +@@ -720,7 +720,7 @@ + # Use a subshell so we don't have to protect the variables in + # the current scope + ( +- eval $(portageq envvar -v PORTDIR) ++ : ${PORTDIR="$(portageq get_repo_path $(portageq envvar EROOT) gentoo)"} + echo "${PORTDIR}" + ) + } # }}} diff --git a/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild b/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild index 938b4c8c..3ead12a9 100644 --- a/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild +++ b/app-portage/gentoolkit/gentoolkit-0.3.0.9-r2.ebuild @@ -33,6 +33,7 @@ PATCHES=( "${FILESDIR}"/${PV}-equery-508114.patch "${FILESDIR}"/${PV}-equery-strip-XXXFLAGS.patch "${FILESDIR}"/${PV}-revdep-rebuild-526400.patch + "${FILESDIR}"/${PV}-fix-multiple-portageq-envvar-portdir-is-deprecated-warnings.patch ) python_prepare_all() { |