Bug 256604

Summary: audio/timidity++: patch and unbreak on riscv64
Product: Ports & Packages Reporter: Robert Clausecker <fuz>
Component: Individual Port(s)Assignee: Alexey Dokuchaev <danfe>
Status: Closed FIXED    
Severity: Affects Only Me CC: danfe, riscv
Priority: ---    
Version: Latest   
Hardware: riscv   
OS: Any   
Attachments:
Description Flags
audio/timidity++: patch and unbreak on riscv64 none

Description Robert Clausecker freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2021-06-16 10:18:53 UTC
Patch committed and maintainer assigned, thanks!