diff --git a/backport-typo-in-optimization-annotation.patch b/backport-typo-in-optimization-annotation.patch new file mode 100644 index 0000000000000000000000000000000000000000..7601e38a633f119e679e054e0f1a312ae15d8957 --- /dev/null +++ b/backport-typo-in-optimization-annotation.patch @@ -0,0 +1,24 @@ +From ed7f9760db1aa5a6e404441d759642d05cfb9a17 Mon Sep 17 00:00:00 2001 +From: lizhuo +Date: Thu, 17 Apr 2025 17:33:28 +0800 +Subject: [PATCH] typo-in-optimization-annotation + +--- + src/csexp.ml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/csexp.ml b/src/csexp.ml +index 78bfa2b..2b2270d 100644 +--- a/src/csexp.ml ++++ b/src/csexp.ml +@@ -233,7 +233,7 @@ module Make (Sexp : Sexp) = struct + match Stack.add_token x stack with + | exception Parse_error msg -> Error (pos, msg) + | stack -> k s (pos + 1) len lexer stack) +- [@@inlined always] ++ [@@inline always] + + let parse_string = + let rec loop s pos len lexer stack = +-- +2.33.0 \ No newline at end of file diff --git a/ocaml-csexp.spec b/ocaml-csexp.spec index ba4d3c017083e3104c0bf1441382a9a13f0aa0fa..6d6ec1be0d5283e79dd68fd7ed5954b409c02a14 100644 --- a/ocaml-csexp.spec +++ b/ocaml-csexp.spec @@ -6,13 +6,15 @@ Name: ocaml-csexp Version: 1.5.2 -Release: 1 +Release: 2 Summary: Parsing and printing of S-expressions in canonical form License: MIT URL: https://github.com/ocaml-dune/csexp Source0: https://github.com/ocaml-dune/csexp/releases/download/%{version}/csexp-%{version}.tbz +Patch0001: backport-typo-in-optimization-annotation.patch + BuildRequires: ocaml >= 4.03.0 %if %{with dune} BuildRequires: ocaml-dune >= 1.11 @@ -34,6 +36,7 @@ developing applications that use %{name}. %prep %autosetup -N -n csexp-%{version} +%patch0001 -p1 %build %if %{with dune} @@ -135,6 +138,9 @@ EOF %{_libdir}/ocaml/csexp/*.mli %changelog +* Thu Apr 17 2025 lizhuo - 1.5.2-2 +- typo in optimization annotation + * Mon Jul 17 2023 niuyaru - 1.5.2-1 - Update package to version 1.5.2