Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=ca9c48b2e011898d6e5df5d73c9419e6378f41f1
commit ca9c48b2e011898d6e5df5d73c9419e6378f41f1 Author: Melko <[email protected]> Date: Thu Oct 9 09:58:58 2014 +0200 facile-1.1-9-x86_64 * rebuild with ocaml=4.02.0 diff --git a/source/lib-extra/facile/FrugalBuild b/source/lib-extra/facile/FrugalBuild index f51589d..1cc1eab 100644 --- a/source/lib-extra/facile/FrugalBuild +++ b/source/lib-extra/facile/FrugalBuild @@ -3,19 +3,21 @@ pkgname=facile pkgver=1.1 -pkgrel=8 +pkgrel=9 pkgdesc="FaCiLe is a constraint programming library." url="http://www.recherche.enac.fr/opti/facile/" -depends=('ocaml=3.12.1') +depends=('ocaml=4.02.0') archs=('i686' 'x86_64') groups=('lib-extra') up2date="lynx -dump $url/distrib/|grep [0-9].tar.gz$|sed 's/.*-\(.*\)\.t.*/\1/;q'" -source=($url/distrib/$pkgname-$pkgver.tar.gz) -sha1sums=('31dea6e19542292c9ccb41515b0ec7ecd103bb80') +source=($url/distrib/$pkgname-$pkgver.tar.gz ocaml-facile-ocaml-4.patch) +sha1sums=('31dea6e19542292c9ccb41515b0ec7ecd103bb80' \ + 'ce4ebfec62ba603d5f73be87585d6d0d68af8778') build() { Fcd + Fpatchall Fmkdir usr/lib/ocaml/facile ./configure || Fdie make || Fdie diff --git a/source/lib-extra/facile/ocaml-facile-ocaml-4.patch b/source/lib-extra/facile/ocaml-facile-ocaml-4.patch new file mode 100644 index 0000000..6006a16 --- /dev/null +++ b/source/lib-extra/facile/ocaml-facile-ocaml-4.patch @@ -0,0 +1,25 @@ +diff -ur facile-1.1.old/src/facile.mli facile-1.1/src/facile.mli +--- facile-1.1.old/src/facile.mli 2004-09-08 10:51:02.000000000 +0100 ++++ facile-1.1/src/facile.mli 2012-06-10 21:06:41.553916954 +0100 +@@ -127,7 +127,7 @@ + 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 +Binary files facile-1.1.old/src/fcl_data.cmi and facile-1.1/src/fcl_data.cmi differ +diff -ur facile-1.1.old/src/fcl_data.mli facile-1.1/src/fcl_data.mli +--- facile-1.1.old/src/fcl_data.mli 2004-09-08 10:51:02.000000000 +0100 ++++ facile-1.1/src/fcl_data.mli 2012-06-10 21:06:25.841590828 +0100 +@@ -23,7 +23,7 @@ + + 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 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
