mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-15 13:41:59 +01:00
testing/ocaml-lwt: upgrade to 5.6.1
This commit is contained in:
parent
5b454b2e3d
commit
4dd3c19ee3
@ -2,8 +2,8 @@
|
||||
# Maintainer:
|
||||
pkgname=ocaml-lwt
|
||||
_pkgname=lwt
|
||||
pkgver=5.5.0
|
||||
pkgrel=2
|
||||
pkgver=5.6.1
|
||||
pkgrel=0
|
||||
pkgdesc="OCaml promises and concurrent I/O"
|
||||
url="https://github.com/ocsigen/lwt"
|
||||
arch="all !riscv64" # limited by ocaml aport
|
||||
@ -25,10 +25,7 @@ depends_dev="
|
||||
makedepends="$depends_dev dune dune-configurator ocaml ocaml-cppo"
|
||||
options="!check" # FIXME: tests hang
|
||||
subpackages="$pkgname-dev ${pkgname}_react:_react ${pkgname}_ppx:_ppx"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$_pkgname/archive/$pkgver.tar.gz
|
||||
result_lseek_noinline.patch
|
||||
dont-use-external-seq.patch
|
||||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/ocsigen/$_pkgname/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgname-$pkgver"
|
||||
_ocamldir=usr/lib/ocaml
|
||||
|
||||
@ -98,7 +95,5 @@ _react() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1 ocaml-lwt-5.5.0.tar.gz
|
||||
dc3abce70b3ad022066e8023a9b37346df0ecbbc6351186cc24b569189142ad3e7e32f27c33a4378f11ec8c40df5c96f4c37190ca4797bc228ca8943f53cf5bf result_lseek_noinline.patch
|
||||
7a7d1876b633668892e7eb8b6d08a7432807abd8a98cd8c05589221c92bf1bf068236c018031f88db22d3f055595651c440d23aad118c6e3f4992b9c9d9c75c7 dont-use-external-seq.patch
|
||||
698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8 ocaml-lwt-5.6.1.tar.gz
|
||||
"
|
||||
|
||||
@ -1,11 +0,0 @@
|
||||
--- a/src/core/dune
|
||||
+++ b/src/core/dune
|
||||
@@ -26,7 +26,7 @@
|
||||
(synopsis "Monadic promises and concurrent I/O")
|
||||
(wrapped false)
|
||||
|} ^ preprocess ^ {|
|
||||
- (libraries bytes result seq)
|
||||
+ (libraries bytes result)
|
||||
(flags (:standard -w +A-29)))
|
||||
|
||||
(documentation
|
||||
@ -1,20 +0,0 @@
|
||||
--- a/src/unix/unix_c/unix_lseek_job.c
|
||||
+++ b/src/unix/unix_c/unix_lseek_job.c
|
||||
@@ -92,7 +92,7 @@
|
||||
}
|
||||
|
||||
/* The function building the caml result. */
|
||||
-static value result_lseek(struct job_lseek* job)
|
||||
+__attribute__((noinline)) static value result_lseek(struct job_lseek* job)
|
||||
{
|
||||
value result;
|
||||
/* Check for errors. */
|
||||
@@ -113,7 +113,7 @@
|
||||
}
|
||||
|
||||
/* The function building the caml result. */
|
||||
-static value result_lseek_64(struct job_lseek* job)
|
||||
+__attribute__((noinline)) static value result_lseek_64(struct job_lseek* job)
|
||||
{
|
||||
value result;
|
||||
/* Check for errors. */
|
||||
Loading…
x
Reference in New Issue
Block a user