Package Details: ocaml-stdcompat 21.1-3

Git Clone URL: https://aur.archlinux.org/ocaml-stdcompat.git (read-only, click to copy)
Package Base: ocaml-stdcompat
Description: Compatibility module for OCaml standard library
Upstream URL: https://github.com/thierry-martinez/stdcompat
Licenses: LGPL-2.1-or-later
Submitter: meadow
Maintainer: meadow
Last Packager: meadow
Votes: 1
Popularity: 0.64
First Submitted: 2024-12-10 15:25 (UTC)
Last Updated: 2026-05-06 14:43 (UTC)

Latest Comments

meadow commented on 2026-05-06 14:43 (UTC)

Done!

RubenKelevra commented on 2026-05-06 14:35 (UTC)

@meadow sure!

meadow commented on 2026-05-06 14:29 (UTC)

Fixed! Thanks for the patch @RubenKelevra. Lmk if you're fine with being added as contributor

RubenKelevra commented on 2026-05-03 15:12 (UTC) (edited on 2026-05-03 17:26 (UTC) by RubenKelevra)

Can you please include the new patch the Fedora project have provided?

https://github.com/ocamllibs/stdcompat/issues/62#issuecomment-3935708388

Because without it, it's not building. Here's the patch to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index 49e3839..5d8d62f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,16 +9,16 @@ url="https://github.com/thierry-martinez/stdcompat"
 license=('LGPL-2.1-or-later')
 source=(
     "$pkgname-$pkgver.tar.gz::https://github.com/thierry-martinez/stdcompat/archive/refs/tags/${pkgver}.tar.gz"
-    "0000-fedora-ocaml-stdcompat-ocaml5.4.patch::https://src.fedoraproject.org/rpms/ocaml-stdcompat/raw/2f4345ccea8eda0cd2a4cc33c337a9d92d66eb3c/f/ocaml-stdcompat-ocaml5.4.patch")
+    "0000-fedora-ocaml-stdcompat-ocaml5.4.1.patch::https://src.fedoraproject.org/rpms/ocaml-stdcompat/raw/rawhide/f/ocaml-stdcompat-ocaml5.4.patch")
 depends=('ocaml')
 makedepends=('dune')
 arch=('x86_64')
 b2sums=('b351696f0aed268cd067e20a7d0917a5580399b43e5de3e60fce0ab30a8093cd1808eda610d5a20eb721033f77c45f9b5c8dabc6d55862b023c363b212a505e8'
-        '6e1a1f533977af92a3139a1acb6a8aaeaff2c1b12ca14bccb435d2ffaa8abf427a5da8dff172fc445d4f152e5c8a06d142ada7765a548149fb80d653ec0f8345')
+        'cd9bfd478d466382fb16e2aeb629447baed1786284600ad3125fc80f501c9027be0700db49f6757425942b14ef909a3c012e20e9e62b06a4f066185103a70411')

 prepare() {
     cd "${srcdir}/${_ocamlname}-${pkgver}"
-    patch --forward --strip=1 --input=../0000-fedora-ocaml-stdcompat-ocaml5.4.patch
+    patch --forward --strip=1 --input=../0000-fedora-ocaml-stdcompat-ocaml5.4.1.patch
 }

 build() {

meadow commented on 2025-04-01 09:43 (UTC) (edited on 2025-11-06 13:44 (UTC) by meadow)

Status

Upstream does not support OCaml 5.4 yet https://github.com/ocamllibs/stdcompat/issues/62

Old pinned comments
Ocaml 5.3

I'm waiting for upstream to fix >=5.3 compatibility. https://github.com/ocamllibs/stdcompat/issues/36

meadow commented on 2025-02-19 09:49 (UTC)

Thanks for reporting this also to upstream! I'll integrate the fix the the package as soon as as upstream publishes it

xhpohanka commented on 2025-02-19 09:25 (UTC)

Does not build with ocaml 5.3.0 which is now in repos.