Sorry, this is the correct patch.
typst-0.10.0-p2.tar.gz

wen

________________________________________
发件人: owner-po...@openbsd.org <owner-po...@openbsd.org> 代表 wen heping 
<wenheping2...@hotmail.com>
发送时间: 2023年12月12日 11:21
收件人: Theo Buehler; ports@openbsd.org
主题: 回复: 回复: [NEW]textproc/typst

Here is the revised patch for typst:
   i)   Generate crates LICENSE.
   ii) Remove rust-ring from BUILD_DEPENDS
   iii) Add NOT_FOR_ARCHS =         sparc64
   iv) Add NO_TEST


Cheers !
wen

________________________________________
发件人: Theo Buehler <t...@theobuehler.org>
发送时间: 2023年12月11日 19:02
收件人: wen heping; ports@openbsd.org
主题: Re: 回复: [NEW]textproc/typst

On Mon, Dec 11, 2023 at 10:52:44AM +0000, Stuart Henderson wrote:
> On 2023/12/11 02:38, wen heping wrote:
> > Here is the revised patch, now update typst-0.10.0.
> >
> >
> > Cheers !
> > wen
> >
>
>
> You are missing license markers, use "make modcargo-gen-modules-licenses".
>
> Upstream uses newer "ring" so I believe you can remove the BDEP on
> rust-ring.
>

Correct.

ring 0.17 added support powerpc64 and riscv64, so this only needs

# ring-v0.17 does not support this arch
NOT_FOR_ARCHS =         sparc64


Should I do something like this for rust-ring (with REVISION bump
of course)?

Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/security/rust-ring/pkg/DESCR,v
diff -u -p -r1.1.1.1 DESCR
--- pkg/DESCR   18 Jan 2023 12:56:09 -0000      1.1.1.1
+++ pkg/DESCR   11 Dec 2023 10:58:43 -0000
@@ -1,2 +1,3 @@
 Bundles the source of the ring crate patched to work with OpenBSD's
-execute only policy.
+execute only policy. Use this as a BUILD_DEPENDS for ports depending
+on ring 0.16.x. It is not needed for ring >= 0.17.0.

Attachment: typst-0.10.0-p2.tar.gz
Description: typst-0.10.0-p2.tar.gz

Reply via email to