Created attachment 220174 [details] patch to files/patch-pr_include_md___freebsd.cfg These patches allow devel/nspr to build on riscv64 (at least, under qemu). The stanzas are naively taken from the linux equivalents. Patched: files/patch-pr_include_md___freebsd.cfg New file: files/patch-pr_include_md___freebsd.h
Created attachment 220175 [details] new file files/patch-pr_include_md___freebsd.h
Created attachment 220176 [details] patch to files/patch-pr_include_md___freebsd.cfg
fwiw, if accepted, these changes will need to be upstreamed.
(In reply to Mark Linimon from comment #3) > fwiw, if accepted, these changes will need to be upstreamed. This is backwards. I'm usually very reluctant to approve anything not submitted upstream, often leaving for "maintainer timeout". Whatever already landed upstream is covered by "portmgr blanket", so one can avoid wasting their and maintainer's time on rubberstamps. Please, rename the patch file after upstream bug. This is important in order to safely prune patches on NSPR updates.
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/231032415
(In reply to Jan Beich from comment #4) The pkg-descr is out of date, so you will have to tell me where the project has moved to, so I can submit the patch upstream.
https://bugzilla.mozilla.org/enter_bug.cgi?product=NSPR https://bugzilla.mozilla.org/buglist.cgi?quicksearch=product%3Anspr%20os%3Afreebsd%20OR%20summary%3Afreebsd
A commit references this bug: Author: jbeich Date: Sat Jan 2 00:35:06 UTC 2021 New revision: 559898 URL: https://svnweb.freebsd.org/changeset/ports/559898 Log: devel/nspr: chase homepage Sorry, the page /en-US/docs/NSPR could not be found. PR: 251534 Reported by: linimon Changes: head/devel/nspr/pkg-descr
Submitted upstream as: https://bugzilla.mozilla.org/show_bug.cgi?id=1711232
Can you merge both into files/patch-bug1711232 as requested in comment 4? Consider approved after that.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=77a6e3930528150f307396f2fa7a4a164d01e92c commit 77a6e3930528150f307396f2fa7a4a164d01e92c Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2021-06-09 08:43:10 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2021-06-09 08:43:10 +0000 devel/nspr: allow build on riscv64 Sent by: linimon Approved by: jbeich PR: 251534 devel/nspr/files/patch-bug1711232 (new) | 114 ++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+)