commit:     18904fe1f8b5de0662f5563945f4e4b62b147602
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  5 22:18:43 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sat Jan  5 22:22:31 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18904fe1

app-emulation/qemu: use ver_test instead of versionator

Closes: https://bugs.gentoo.org/674628
Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 app-emulation/qemu/qemu-3.1.0.ebuild | 2 +-
 app-emulation/qemu/qemu-9999.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-emulation/qemu/qemu-3.1.0.ebuild 
b/app-emulation/qemu/qemu-3.1.0.ebuild
index 0d2cd40ccc3..9db058a19a5 100644
--- a/app-emulation/qemu/qemu-3.1.0.ebuild
+++ b/app-emulation/qemu/qemu-3.1.0.ebuild
@@ -756,7 +756,7 @@ src_install() {
 firmware_abi_change() {
        local pv
        for pv in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least ${FIRMWARE_ABI_VERSION} ${pv}; then
+               if ver_test $pv -lt ${FIRMWARE_ABI_VERSION}; then
                        return 0
                fi
        done

diff --git a/app-emulation/qemu/qemu-9999.ebuild 
b/app-emulation/qemu/qemu-9999.ebuild
index 675dc448d69..1c99bc24161 100644
--- a/app-emulation/qemu/qemu-9999.ebuild
+++ b/app-emulation/qemu/qemu-9999.ebuild
@@ -748,7 +748,7 @@ src_install() {
 firmware_abi_change() {
        local pv
        for pv in ${REPLACING_VERSIONS}; do
-               if ! version_is_at_least ${FIRMWARE_ABI_VERSION} ${pv}; then
+               if ver_test $pv -lt ${FIRMWARE_ABI_VERSION}; then
                        return 0
                fi
        done

Reply via email to