Bug 256604 - audio/timidity++: patch and unbreak on riscv64
Summary: audio/timidity++: patch and unbreak on riscv64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: riscv Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-14 16:51 UTC by Robert Clausecker
Modified: 2021-06-16 10:18 UTC (History)
2 users (show)

See Also:


Attachments
audio/timidity++: patch and unbreak on riscv64 (1.98 KB, patch)
2021-06-14 16:51 UTC, Robert Clausecker
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker 2021-06-14 16:51:17 UTC
Created attachment 225805 [details]
audio/timidity++: patch and unbreak on riscv64

audio/timidity++: patch and unbreak on riscv64

RISC-V does not have FP exceptions and nobody has bothered to stub out
the fpsetmask() calls.  Remove these calls on platforms that don't
support them to unbreak the build.

I can take over maintainership for this unmaintained port if desired.
Comment 1 commit-hook freebsd_committer 2021-06-16 10:16:53 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1fd1be3fa965e1650cc516194785d5239c2122fb

commit 1fd1be3fa965e1650cc516194785d5239c2122fb
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2021-06-16 10:15:12 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2021-06-16 10:15:30 +0000

    audio/timidity++: unbreak the build on RISC-V (riscv64)

    PR:             256604
    Submitted by:   Robert Clausecker (new maintainer)

 audio/timidity++/Makefile                              |  4 +---
 audio/timidity++/files/patch-timidity_timidity.c (new) | 12 ++++++++++++
 2 files changed, 13 insertions(+), 3 deletions(-)
Comment 2 Alexey Dokuchaev freebsd_committer 2021-06-16 10:18:53 UTC
Patch committed and maintainer assigned, thanks!