automatic version update by autodist [release 0.9.4-1mamba;Thu Mar 28 2024]

This commit is contained in:
Automatic Build System 2024-03-28 13:13:51 +01:00
parent 10ab3ba801
commit 73675cc4eb
2 changed files with 7 additions and 35 deletions

View File

@ -1,29 +0,0 @@
From 84a198fadf78b9fbf27729030c0658f48fccec91 Mon Sep 17 00:00:00 2001
From: Romain Beauxis <toots@rastageeks.org>
Date: Sat, 8 Jul 2023 16:18:24 -0500
Subject: [PATCH] Export poll.
---
src/duppy.mli | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/duppy.mli b/src/duppy.mli
index 88fb35c..480e050 100644
--- a/src/duppy.mli
+++ b/src/duppy.mli
@@ -67,6 +67,15 @@ val create :
unit ->
'a scheduler
+(** Internal polling function. Uses `Unix.select` on windows and
+ `poll` otherwise. *)
+val poll :
+ Unix.file_descr list ->
+ Unix.file_descr list ->
+ Unix.file_descr list ->
+ float ->
+ Unix.file_descr list * Unix.file_descr list * Unix.file_descr list
+
(** [queue ~log ~priorities s name]
* starts a queue, on the scheduler [s] only processing priorities [p]
* for which [priorities p] returns [true].

View File

@ -1,8 +1,8 @@
%define ocamlpck duppy %define ocamlpck duppy
Name: ocaml-duppy Name: ocaml-duppy
Version: 0.9.3 Version: 0.9.4
Release: 2mamba Release: 1mamba
Summary: Ocaml-duppy is an advanced scheduler for Ocaml programmers Summary: Ocaml-duppy is an advanced scheduler for Ocaml programmers
Group: Development/Libraries Group: Development/Libraries
Vendor: openmamba Vendor: openmamba
@ -10,13 +10,12 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/savonet/ocaml-duppy URL: https://github.com/savonet/ocaml-duppy
Source: https://github.com/savonet/ocaml-duppy.git/v%{version}/ocaml-duppy-%{version}.tar.bz2 Source: https://github.com/savonet/ocaml-duppy.git/v%{version}/ocaml-duppy-%{version}.tar.bz2
Patch0: ocaml-duppy-0.9.3-upstream-export-poll.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ocaml BuildRequires: ocaml-re
BuildRequires: ocaml-pcre-devel
BuildRequires: ocaml-runtime BuildRequires: ocaml-runtime
BuildRequires: ocaml-seq-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: ocaml >= 4.14.1 BuildRequires: ocaml >= 4.14.1
BuildRequires: dune BuildRequires: dune
@ -40,7 +39,6 @@ This package contains libraries and signature files for developing applications
%prep %prep
%setup -q %setup -q
%patch 0 -p1 -b .upstream-export-poll
%build %build
dune build dune build
@ -75,6 +73,9 @@ rm -rf %{buildroot}/usr/doc
%doc examples/ %doc examples/
%changelog %changelog
* Thu Mar 28 2024 Automatic Build System <autodist@openmamba.org> 0.9.4-1mamba
- automatic version update by autodist
* Fri Jul 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba * Fri Jul 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-2mamba
- added upstream patch to export poll (fixes liquidsoap 2.2.0 build) - added upstream patch to export poll (fixes liquidsoap 2.2.0 build)