diff --git a/srcpkgs/xen/patches/ocaml-5.patch b/srcpkgs/xen/patches/ocaml-5.patch new file mode 100644 index 00000000000..9b590de1228 --- /dev/null +++ b/srcpkgs/xen/patches/ocaml-5.patch @@ -0,0 +1,28 @@ +X-Git-Url: https://xenbits.xen.org/gitweb/?p=xen.git;a=blobdiff_plain;f=tools%2Focaml%2Flibs%2FMakefile;h=89350aa12fdc6dbf0fe461bf7e4644cbb16b8462;hp=5146c524846083f343b5d4c5c2ccbb060dc94a67;hb=e51d31f79edc10f8d622e7f5bf4b935af6d4618f;hpb=bf652a50fb3bb3b1b3d93db6fb79bc28f978fe75 + +Remove broken libs (like upstream later). + +--- xen-4.14.1/tools/ocaml/libs/Makefile ++++ xen-4.14.1/tools/ocaml/libs/Makefile +@@ -3,9 +3,8 @@ + + SUBDIRS= \ + mmap \ +- xentoollog \ + xc eventchn \ +- xb xs xl ++ xb xs + + .PHONY: all + all: subdirs-all +--- xen-4.14.1/tools/ocaml/xenstored/disk.ml ++++ xen-4.14.1/tools/ocaml/xenstored/disk.ml +@@ -30,7 +30,7 @@ + | _ -> raise (Failure "undecify") + + let unhex c = +- let c = Char.lowercase c in ++ let c = Char.lowercase_ascii c in + match c with + | '0' .. '9' -> (Char.code c) - (Char.code '0') + | 'a' .. 'f' -> (Char.code c) - (Char.code 'a') + 10 diff --git a/srcpkgs/xen/template b/srcpkgs/xen/template index 011d1704fcd..52ae2f85c33 100644 --- a/srcpkgs/xen/template +++ b/srcpkgs/xen/template @@ -1,7 +1,7 @@ # Template file for 'xen' pkgname=xen version=4.14.1 -revision=10 +revision=11 # grep -R IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot _git_tag_ipxe=4bd064de239dab2426b31c9789a1f4d78087dc63 # TODO: arm / aarch64