summaryrefslogtreecommitdiff
path: root/dev-ml/core_unix
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-07-08 22:23:22 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-07-08 22:23:22 +0100
commit99b2c44c1425c7b2925846d4c44b2bf2f78dc786 (patch)
tree9bf7a2d385aace0ea5f3f8d3e3657168b758fdaa /dev-ml/core_unix
parent39bccce90513402ec93bb0fde30678f16b07a9cc (diff)
gentoo auto-resync : 08:07:2023 - 22:23:22
Diffstat (limited to 'dev-ml/core_unix')
-rw-r--r--dev-ml/core_unix/Manifest3
-rw-r--r--dev-ml/core_unix/core_unix-0.16.0.ebuild38
-rw-r--r--dev-ml/core_unix/files/core_unix-0.16.0-musl.patch11
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest
index 63e0081c5998..ac4919072e36 100644
--- a/dev-ml/core_unix/Manifest
+++ b/dev-ml/core_unix/Manifest
@@ -1,6 +1,9 @@
AUX core_unix-0.15.2-musl.patch 531 BLAKE2B 4099aae8650bce471620a8a86fcbbbfa64bb77befafb3f6bb505deb564f1e0dd74dc6e9dee5dc580a524b3f5a0409eaf9f3f6bf461aaf5e5575d93bf36d3789f SHA512 3d9d5c3aed77931b2ce20ba768e56f369c816a4bb3adf922e7c428572d9a5fdadc8a19b8eb01c58f8cf932ec158c99f52c10f58bfa6cfc67abd3fc5178eaacff
+AUX core_unix-0.16.0-musl.patch 527 BLAKE2B 89b18607a3924c9cb501e13a4ecd4bcceb8afe6e4ed278e1f0321c1892361eb52a6ed91cf628c2b35b7f08cd030cff4ef635be3c9f25caa1aab0e782c6a4bee8 SHA512 62cf682965f213f8b74866d373cb180b4134247c7c8937a4e08d1f2826a0097febce7c1e096b9b7a91109e51a542eb6c128cfdc00ef04a0943f78d0f1f0f96c8
DIST core_unix-0.15.0.tar.gz 377928 BLAKE2B 49b58471a28c356bdf39f15e22bd21ec4363182cf744c0455847ffc15015fdad2928a428986c2a9edff647ebef9f2ad2059b184b393e979119c8f007f67ec140 SHA512 eeb53bd0c06a7d1facfb133f0a45a232d57941eff644d4ed6c2d5002acd4e6b323376ec9c05838f760ebd9da3fbc39332989ed50b3921191c175811c947fcbfe
DIST core_unix-0.15.2.tar.gz 377836 BLAKE2B 56551ab1509bfecc59ae4b45aaaa4d336415cffe9339932239c884bc86207bdb4066aace35144618509b78b461164bdfaaaa04030ecb1b3619de6f8fe5c3a7b9 SHA512 6d59c52111235f952f3052fb86af1d7380ff3d8d89b5c8d59a66d530a14d462fa4b06cdf29f2ee2b4356a574dbefef33b82f60f9fba512942bc0e6aad07f2b6f
+DIST core_unix-0.16.0.tar.gz 391719 BLAKE2B 29105ee1b8342241dbea136207d221af04d9412a74412fb4fd532f08b22b842125a72e69a47d36129a99c04cd3a83e605bc42b970d79a52420b3e273bd9915d5 SHA512 e38a126af832360f0e0079919b930f3fa99b02935c35372b1ed8c7e174af335de2f4dcb8da90be8f9f524542752dd5c62ec6192eb327d7cc6313b7402b0f7f65
EBUILD core_unix-0.15.0.ebuild 577 BLAKE2B 1fd5f1ae602502ef50267d88f5788a66388153082066863e191115b58154059d577e079dca5818982133812070909249a548ca205912ba38c184278c8a5498dc SHA512 318fb4a1c646219119c85d42205986de3745b3755031db4d2baf3f3f8bf59cfe57991a167fd14fe88e8b62b5d91f02e62ba47ecd2aaf4d0ea81439ea855f1f9f
EBUILD core_unix-0.15.2-r1.ebuild 816 BLAKE2B 375a2b52b415d107c97ea6cae04594747ecaf6eea7c08e94de8ca8debc33bb7d9f91ed723bdbc57c8c09b13a2c6315ece82af9690aaf4a64872d8a26324734c6 SHA512 6499e9c897b923200a23ca9eb642b618d69b4236f41c128bf63abc4e768364c7d121e502daed2282b470be32c2b4bbd8d9e3a6358a8179a60eb76f74efb2aa27
+EBUILD core_unix-0.16.0.ebuild 821 BLAKE2B fcc2028ae8dc7566f7692a3c0a67490f6a48b3fd8332689fd92e7087184ec7cdbc147a515a8ad81519a39c9c14439e193972a4aa234d0b66be2475d5c4bfeed1 SHA512 b61fb8f757d1948a40ded07a94e271a5697a42c869ea6e75427ea83ebabad40a4db3df33f122aaff3b45cf91ceb9635738dc33dcb3f2a013e8f54a2fd4b4f287
MISC metadata.xml 318 BLAKE2B 2179bfab915d936189f80d0c10ee6367fe5ad711df66647da644fa05d8b1b9778d83d2862228955fc11621368a523fa904b639c47a4d8843b42e561127f94baf SHA512 66ae67f04d4f63ed5940c7164f0bfb27097e066c30d07a01c3d773b8b40a7ff6c8f0632e1103b952d310120cc0111690b93495fd0ac6c582652c627006e24bae
diff --git a/dev-ml/core_unix/core_unix-0.16.0.ebuild b/dev-ml/core_unix/core_unix-0.16.0.ebuild
new file mode 100644
index 000000000000..3abd67fa944c
--- /dev/null
+++ b/dev-ml/core_unix/core_unix-0.16.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit dune toolchain-funcs
+
+DESCRIPTION="Unix-specific portions of Core"
+HOMEPAGE="https://github.com/janestreet/core_unix"
+SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt"
+
+DEPEND="
+ >=dev-lang/ocaml-4.14
+ dev-ml/core:=
+ dev-ml/core_kernel:${SLOT}
+ dev-ml/expect_test_helpers_core:${SLOT}
+ dev-ml/ocaml_intrinsics:${SLOT}
+ >=dev-ml/spawn-0.15:=
+ dev-ml/timezone:${SLOT}
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-musl.patch )
+
+src_prepare() {
+ sed -i \
+ -e "s:gcc:$(tc-getCC):" \
+ unix_pseudo_terminal/src/discover.sh \
+ || die
+
+ default
+}
diff --git a/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch b/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch
new file mode 100644
index 000000000000..e37ad2f8454a
--- /dev/null
+++ b/dev-ml/core_unix/files/core_unix-0.16.0-musl.patch
@@ -0,0 +1,11 @@
+--- a/bigstring_unix/src/bigstring_unix_stubs.c 2023-07-08 18:01:05.614573701 +0200
++++ b/bigstring_unix/src/bigstring_unix_stubs.c 2023-07-08 18:01:20.505598860 +0200
+@@ -743,7 +743,7 @@
+ int count = Int_val(v_count);
+ size_t total_len = 0;
+ struct iovec *iovecs = copy_iovecs(&total_len, v_iovecs, count);
+- struct msghdr msghdr = {NULL, 0, NULL, 0, NULL, 0, 0};
++ struct msghdr msghdr = {NULL};
+ ssize_t ret;
+ if (total_len > THREAD_IO_CUTOFF || contains_mmapped(v_iovecs, count)) {
+ Begin_roots1(v_iovecs);