Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
graphics/ocaml-images: unbreak the build and undeprecate the port
OMake's shell-success-null() function had been removed in version 0.10.5: after using $(NULL_DEVICE), it no longer needed a special name and had replaced shell-success() function.
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Nov 27, 2023
1 parent
54b238b
commit 1ab547d
Showing
2 changed files
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- src/bitmap.ml.orig 2011-06-22 18:04:32 UTC | ||
+++ src/bitmap.ml | ||
@@ -186,7 +186,7 @@ module Make(B:Bitdepth) = struct | ||
|
||
let swap_out_eldest words = | ||
let sorted = | ||
- Sort.list (fun b1 b2 -> b1.last_used < b2.last_used) !swappable_blocks in | ||
+ List.sort (fun b1 b2 -> compare b1.last_used b2.last_used) !swappable_blocks in | ||
let rec swapper sorted i = | ||
match sorted with | ||
| [] -> () |