File: 0002-Fix-OCaml-5.4.0-patch.patch

package info (click to toggle)
ocaml-stdcompat 21.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,664 kB
  • sloc: ml: 34,679; sh: 830; makefile: 239
file content (22 lines) | stat: -rw-r--r-- 682 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Stephane Glondu <glondu@debian.org>
Date: Thu, 18 Dec 2025 09:33:47 +0100
Subject: Fix OCaml 5.4.0 patch

---
 stdcompat__format_s.mli.in | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/stdcompat__format_s.mli.in b/stdcompat__format_s.mli.in
index 9c2883d..253749b 100644
--- a/stdcompat__format_s.mli.in
+++ b/stdcompat__format_s.mli.in
@@ -44,6 +44,9 @@ type tag = string
 type formatter_out_functions = Format.formatter_out_functions =
   {
   out_string: string -> int -> int -> unit ;
+@BEGIN_FROM_5_4_0@
+  out_width: string -> pos:int -> len:int -> int ;
+@END_FROM_5_4_0@
   out_flush: unit -> unit ;
   out_newline: unit -> unit ;
   out_spaces: int -> unit ;