Bug 259854 - math/cln: fix build on armv7
Summary: math/cln: fix build on armv7
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: arm Any
: --- Affects Some People
Assignee: Mikael Urankar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-15 14:25 UTC by Robert Clausecker
Modified: 2022-01-02 07:54 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (wen)
fuz: merge-quarterly?


Attachments
math/cln: fix build on armv7 (2.66 KB, patch)
2021-11-15 14:25 UTC, Robert Clausecker
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2021-11-15 14:25:28 UTC
Created attachment 229513 [details]
math/cln: fix build on armv7

This patch fixes the build for math/cln on armv7 by patching some wrong declarations.

It also hooks up the test suite to "make test".

Tested with Poudriere on armv7 arm64 i386 amd64 FreeBSD 13 and amd64 i386 FreeBSD 12.3.

Please MFH if possible.
Comment 1 Robert Clausecker freebsd_committer freebsd_triage 2021-11-28 23:13:07 UTC
Comment on attachment 229513 [details]
math/cln: fix build on armv7

maintainer timeout
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-21 16:24:17 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8288c59996e1635170a2866bb3b18b4f6e804cea

commit 8288c59996e1635170a2866bb3b18b4f6e804cea
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2021-11-15 10:02:24 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2021-12-21 16:23:47 +0000

    math/cln: unbreak on armv7

    This patch fixes the build for math/cln on armv7 by patching some wrong declarations.

    It also hooks up the test suite to "make test".

    PR:             259854
    Approved by:    wen (maintainer timeout)

 math/cln/Makefile                                 |  1 +
 math/cln/files/patch-src_base_low_cl__low__div.cc | 28 +++++++++++++++++++++++
 math/cln/files/patch-src_base_low_cl__low__mul.cc | 14 ++++++++++++
 3 files changed, 43 insertions(+)