Commit cec45a3d authored by Romain Beauxis's avatar Romain Beauxis

Patched source to replace Sort.list (deprecated) by List.sort.

parent a36cac5b
camlimages (1:4.0.1-4) unstable; urgency=low
* Team upload.
* Patched sources to replace Sort.list (deprecated)
by List.sort. Sort.list was causing troubles when
dynamically loading camlimages.
-- Romain Beauxis <toots@rastageeks.org> Mon, 17 Oct 2011 00:04:16 +0200
camlimages (1:4.0.1-3) unstable; urgency=low
* Team upload
......
Index: camlimages/src/bitmap.ml
===================================================================
--- camlimages.orig/src/bitmap.ml 2011-10-17 00:02:17.941672767 +0200
+++ camlimages/src/bitmap.ml 2011-10-17 00:04:03.732755736 +0200
@@ -186,7 +186,7 @@
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
| [] -> ()
0001-Add-missing-cclib-in-ocamlc-a.patch
0002-remove-use-of-sort.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment