commit:     0ded55eced0c1dbf01e558ffc6036d102a80bfdc
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 19:40:27 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Jan 30 19:41:37 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ded55ec

dev-ml/tiny_httpd: rm dev-ml/seq deps

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch           | 11 +++++++++++
 .../{tiny_httpd-0.12.ebuild => tiny_httpd-0.12-r1.ebuild}     |  7 ++++---
 2 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch 
b/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch
new file mode 100644
index 000000000000..b35ba64f8d72
--- /dev/null
+++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.12-noseq.patch
@@ -0,0 +1,11 @@
+--- a/src/dune 2023-01-30 20:28:23.578884847 +0100
++++ b/src/dune 2023-01-30 20:28:33.523713488 +0100
+@@ -2,7 +2,7 @@
+ (library
+   (name tiny_httpd)
+   (public_name tiny_httpd)
+-  (libraries threads seq)
++  (libraries threads)
+   (flags :standard -safe-string -warn-error -a+8)
+   (wrapped false))
+ 

diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild 
b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
similarity index 89%
rename from dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
rename to dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
index 890d8831cf38..957cfe61d316 100644
--- a/dev-ml/tiny_httpd/tiny_httpd-0.12.ebuild
+++ b/dev-ml/tiny_httpd/tiny_httpd-0.12-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,9 +18,8 @@ KEYWORDS="~amd64"
 IUSE="camlzip ocamlopt test"
 
 RDEPEND="
+       >=dev-lang/ocaml-4.08
        dev-ml/result:=
-       dev-ml/seq:=
-
        camlzip? ( >=dev-ml/camlzip-1.06:= )
 "
 DEPEND="
@@ -37,6 +36,8 @@ DEPEND="
 RESTRICT="!test? ( test )"
 REQUIRED_USE="test? ( camlzip )"
 
+PATCHES=( "${FILESDIR}"/${P}-noseq.patch )
+
 src_compile() {
        local pkgs="tiny_httpd"
        use camlzip && pkgs="${pkgs},tiny_httpd_camlzip"

Reply via email to