mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-29 20:42:24 +01:00
community/cloudi: fix compatibility with ocaml 4.08.0
This commit is contained in:
parent
fb5e1bf1fe
commit
58f4a684bf
@ -29,7 +29,7 @@
|
||||
|
||||
pkgname=cloudi
|
||||
pkgver=1.7.5
|
||||
pkgrel=4
|
||||
pkgrel=5
|
||||
pkgdesc="Cloud computing framework for efficient, scalable, and stable soft-realtime event processing."
|
||||
url="https://cloudi.org/"
|
||||
license="MIT"
|
||||
@ -75,6 +75,7 @@ subpackages="$pkgname-static $pkgname-openrc"
|
||||
source="https://osdn.net/dl/$pkgname/$pkgname-$pkgver.tar.gz
|
||||
0005-Disable-tests-for-aports-buildservers.patch
|
||||
python-3.7.patch
|
||||
erlang-otp-ocaml-compattibility.patch
|
||||
$pkgname.initd"
|
||||
builddir="$srcdir/cloudi-$pkgver"
|
||||
|
||||
@ -135,4 +136,5 @@ package() {
|
||||
sha512sums="6684f498b501b47f583c86bb949aec68db4f8f91dd57c352989b01792e871d7e3e3386e658d6b71791c2baf7fc618c67b4fd85487ff27a17ef6f495cad5f241f cloudi-1.7.5.tar.gz
|
||||
d831cc9672c12f27cf958975d72a3cb02ca21e78347f278a840679ab89479f795aba5ff0378731f276863fc5a3237d1bd0f861ccedc41e77321a19d726da8ca9 0005-Disable-tests-for-aports-buildservers.patch
|
||||
020e7c08867e2d84e75eeee74b72f1d79de481fb2affb815f6780d8ce9777dfda2aff71a5af4c066dce334b63b55f05706dfe751379479c086f6e573aa1b9ee0 python-3.7.patch
|
||||
4b03608893095df39181e004a88372ed6d2752166f4b2867e053e9c07ee0793cd8590d2720906a9ff093924766349b548b0e5439b129b09193b64f02645f6824 erlang-otp-ocaml-compattibility.patch
|
||||
053f860f656617012208a0e1909e43b2f8979d381a90d3fa5a745a9cf5021fe54556a641fef2badaa9955f2394d00e32183389cb9b501169dcbf8cbe4fbb0329 cloudi.initd"
|
||||
|
||||
21
community/cloudi/erlang-otp-ocaml-compattibility.patch
Normal file
21
community/cloudi/erlang-otp-ocaml-compattibility.patch
Normal file
@ -0,0 +1,21 @@
|
||||
From 479eef923b756fdcfea395d63e2383f18479ada0 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Truog <mjtruog@protonmail.com>
|
||||
Date: Sat, 18 May 2019 19:36:17 -0700
|
||||
Subject: [PATCH] Add Erlang/OTP 23 compatibility. Add OCaml 4.08.0
|
||||
compatibility. Update the Erlang binary term format encoding implementations
|
||||
to support Erlang/OTP 23 with the programming languages Go, Haskell, Java,
|
||||
Javascript, OCaml, Perl, PHP, Python and Ruby. Update uuid.
|
||||
|
||||
diff --git a/src/api/ocaml/cloudi.ml b/src/api/ocaml/cloudi.ml
|
||||
index 044396dd..c661af37 100644
|
||||
--- a/src/api/ocaml/cloudi.ml
|
||||
+++ b/src/api/ocaml/cloudi.ml
|
||||
@@ -162,7 +162,7 @@ module Instance = struct
|
||||
let callbacks_remove api pattern =
|
||||
let key = api.prefix ^ pattern in
|
||||
let value = Hashtbl.find api.callbacks key in
|
||||
- let _ = Queue.pop value in
|
||||
+ let _f = Queue.pop value in
|
||||
if Queue.is_empty value then
|
||||
Hashtbl.remove api.callbacks key ;
|
||||
()
|
||||
Loading…
x
Reference in New Issue
Block a user