Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705270 - =net-wireless/cpyrit-cuda-0.5.0 uses lexicographical version compare
Summary: =net-wireless/cpyrit-cuda-0.5.0 uses lexicographical version compare
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Oleh Kravchenko
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 705240
  Show dependency tree
 
Reported: 2020-01-12 11:43 UTC by Sergei Trofimovich
Modified: 2020-04-19 15:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergei Trofimovich gentoo-dev 2020-01-12 11:43:15 UTC
net-wireless/cpyrit-cuda uses lexicographical string version compare:

net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild:	if tc-is-gcc && [[ $(gcc-version) > 4.8 ]]; then

The intention is likely to use 'ver_cmp'. See bug #705240 for hints to fix it.
Comment 1 Larry the Git Cow gentoo-dev 2020-04-19 15:00:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95cd637b195737a6d1144bfcfcdb636bf5f6dd86

commit 95cd637b195737a6d1144bfcfcdb636bf5f6dd86
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-04-19 15:00:17 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-04-19 15:00:17 +0000

    net-wireless/cpyrit-cuda: fix lexicographical version compare
    
    Closes: https://bugs.gentoo.org/705270
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 net-wireless/cpyrit-cuda/cpyrit-cuda-0.5.0.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)