Diff opam-state-2.0.10 with a opam-state-2.1.2

/usr/portage/dev-ml/opam-state/opam-state-2.1.2.ebuild 2023-10-09 14:52:29.800368358 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
......
8 8
DESCRIPTION="opam state libraries"
9 9
HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam"
10 10
SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz"
11
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz"
11 12
S="${WORKDIR}/opam-${PV/_/-}"
12 13

  
13 14
LICENSE="LGPL-2.1"
14 15
SLOT="0/${PV}"
15
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
16
KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86"
16 17
IUSE="+ocamlopt"
17 18
RESTRICT="test"
18 19

  
......
23 24
"
24 25
DEPEND="${RDEPEND}"
25 26

  
26
# Cherry-picked from https://deb.debian.org/debian/pool/main/o/opam/opam_2.0.8-1.debian.tar.xz
27
PATCHES=( "${FILESDIR}/debian-Port-to-Dose3-6.0.1.patch" )
27
PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch )
28 28

  
29 29
src_prepare() {
30 30
	default
Thank you!