commit:     a94783119cebce9b05b98031d96806106fcb964e
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 26 07:39:55 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Jan 26 07:40:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9478311

dev-ml/ocaml-inifiles: add dep rules

Closes: https://bugs.gentoo.org/880593
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/ocaml-inifiles/files/ocaml-inifiles-1.2-shuffle.patch | 8 ++++++++
 dev-ml/ocaml-inifiles/ocaml-inifiles-1.2.ebuild              | 7 +++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/dev-ml/ocaml-inifiles/files/ocaml-inifiles-1.2-shuffle.patch 
b/dev-ml/ocaml-inifiles/files/ocaml-inifiles-1.2-shuffle.patch
new file mode 100644
index 000000000000..49a4626e0901
--- /dev/null
+++ b/dev-ml/ocaml-inifiles/files/ocaml-inifiles-1.2-shuffle.patch
@@ -0,0 +1,8 @@
+--- a/OCamlMakefile    2023-01-26 08:33:13.101689847 +0100
++++ b/OCamlMakefile    2023-01-26 08:34:59.133050720 +0100
+@@ -1117,3 +1117,5 @@
+ .PHONY: nobackup
+ nobackup:
+       rm -f *.bak *~ *.dup
++
++inilexer.cmi : parseini.cmo

diff --git a/dev-ml/ocaml-inifiles/ocaml-inifiles-1.2.ebuild 
b/dev-ml/ocaml-inifiles/ocaml-inifiles-1.2.ebuild
index bf249ff1364b..7611ae6b219e 100644
--- a/dev-ml/ocaml-inifiles/ocaml-inifiles-1.2.ebuild
+++ b/dev-ml/ocaml-inifiles/ocaml-inifiles-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,10 @@ IUSE="+ocamlopt"
 RDEPEND="dev-ml/pcre-ocaml:="
 DEPEND="${RDEPEND}"
 
-PATCHES=( "${FILESDIR}"/${P}-inifiles.ml.patch )
+PATCHES=(
+       "${FILESDIR}"/${P}-inifiles.ml.patch
+       "${FILESDIR}"/${P}-shuffle.patch
+)
 
 src_compile() {
        emake -j1

Reply via email to