Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669288 - dev-libs/crypto++-7.0.0-r2: improperly disables ASM
Summary: dev-libs/crypto++-7.0.0-r2: improperly disables ASM
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 667668
  Show dependency tree
 
Reported: 2018-10-22 09:33 UTC by Alexander Tsoy
Modified: 2018-10-23 05:15 UTC (History)
2 users (show)

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


Attachments
crypto++-7.0.0-r2.patch (crypto++-7.0.0-r3.patch,750 bytes, patch)
2018-10-22 09:47 UTC, Alexander Tsoy
Details | Diff
crypto++-7.0.0-r2.patch (crypto++-7.0.0-r3.patch,837 bytes, patch)
2018-10-22 09:52 UTC, Alexander Tsoy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Tsoy 2018-10-22 09:33:51 UTC
ebuild should disable ASM by modifying config.h instead of appending -DCRYPTOPP_DISABLE_ASM to CFLAGS.
Comment 1 Alexander Tsoy 2018-10-22 09:47:43 UTC
Created attachment 552242 [details, diff]
crypto++-7.0.0-r2.patch

Attached patch works for me. Tested with net-p2p/amule
Comment 2 Alexander Tsoy 2018-10-22 09:52:45 UTC
Created attachment 552244 [details, diff]
crypto++-7.0.0-r2.patch

Fixed Darwin case
Comment 3 Larry the Git Cow gentoo-dev 2018-10-23 05:15:31 UTC
The bug has been closed via the following commit(s):

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

commit f717474a782311cf1c0632cf1692989e44bdd8e4
Author:     Alon Bar-Lev <alonbl@gentoo.org>
AuthorDate: 2018-10-23 05:12:18 +0000
Commit:     Alon Bar-Lev <alonbl@gentoo.org>
CommitDate: 2018-10-23 05:15:20 +0000

    dev-libs/crypto++: config using config.h modification
    
    Thanks: Alexander Tsoy
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=669288
    Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11
    RepoMan-Options: --force

 .../{crypto++-7.0.0-r2.ebuild => crypto++-7.0.0-r3.ebuild}  | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)