diff -Naur facile.orig/facile-1.1-ocaml4.patch facile/facile-1.1-ocaml4.patch --- facile.orig/facile-1.1-ocaml4.patch 1970-01-01 01:00:00.000000000 +0100 +++ facile/facile-1.1-ocaml4.patch 2014-06-11 05:33:09.284730257 +0200 @@ -0,0 +1,29 @@ +Index: facile-1.1/src/facile.mli +=================================================================== +--- facile-1.1.orig/src/facile.mli ++++ facile-1.1/src/facile.mli +@@ -127,7 +127,7 @@ module Data : + module Hashtbl : + sig + type ('a, 'b) t +- val create : int -> ('a, 'b) t ++ val create : ?random:bool -> int -> ('a, 'b) t + val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t + val add : ('a, 'b) t -> 'a -> 'b -> unit + val find : ('a, 'b) t -> 'a -> 'b +Index: facile-1.1/src/fcl_data.cmi +=================================================================== +Binary files facile-1.1.orig/src/fcl_data.cmi and facile-1.1/src/fcl_data.cmi differ +Index: facile-1.1/src/fcl_data.mli +=================================================================== +--- facile-1.1.orig/src/fcl_data.mli ++++ facile-1.1/src/fcl_data.mli +@@ -23,7 +23,7 @@ end + + module Hashtbl : sig + type ('a, 'b) t +- val create : int -> ('a, 'b) t ++ val create : ?random:bool -> int -> ('a, 'b) t + val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t + val add : ('a, 'b) t -> 'a -> 'b -> unit + val find : ('a, 'b) t -> 'a -> 'b diff -Naur facile.orig/facile.SlackBuild facile/facile.SlackBuild --- facile.orig/facile.SlackBuild 2014-06-09 12:11:46.322002819 +0200 +++ facile/facile.SlackBuild 2014-06-11 05:34:33.466734626 +0200 @@ -24,7 +24,7 @@ PRGNAM=facile VERSION=1.1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,6 +69,9 @@ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# patch (thnx gentoo) to build against ocaml >= 4 +patch -p1 < $CWD/facile-1.1-ocaml4.patch + mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile ./configure \