summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-05-16 08:24:59 +0200
committerUlrich Müller <ulm@gentoo.org>2022-05-20 19:15:04 +0200
commit5c8a87ee8b208cccf1ff94a7b4a7f28c45a9f13f (patch)
treed2c643bb3c0692fbd7eb023fecace8e34d85bd12
parentgames-emulation/dolphin: Do not remove mgba in 9999 (diff)
downloadgentoo-5c8a87ee8b208cccf1ff94a7b4a7f28c45a9f13f.tar.gz
gentoo-5c8a87ee8b208cccf1ff94a7b4a7f28c45a9f13f.tar.bz2
gentoo-5c8a87ee8b208cccf1ff94a7b4a7f28c45a9f13f.zip
ghc-package.eclass: Avoid reserved function name
Rename function ghc-extractportageversion to ghc-extract-pm-version. Closes: https://bugs.gentoo.org/843713 Signed-off-by: Ulrich Müller <ulm@gentoo.org>
-rw-r--r--eclass/ghc-package.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index 303cf32d7ef5..8c77ad5bc3cb 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ghc-package.eclass
@@ -152,10 +152,10 @@ ghc-supports-parallel-make() {
$(ghc-getghc) --info | grep "Support parallel --make" | grep -q "YES"
}
-# @FUNCTION: ghc-extractportageversion
+# @FUNCTION: ghc-extract-pm-version
# @DESCRIPTION:
# extract the version of a portage-installed package
-ghc-extractportageversion() {
+ghc-extract-pm-version() {
local pkg
local version
pkg="$(best_version $1)"