Advertisement
ponce

facile SlackBuild patch for ocaml >= 4

Jun 11th, 2014
467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. diff -Naur facile.orig/facile-1.1-ocaml4.patch facile/facile-1.1-ocaml4.patch
  2. --- facile.orig/facile-1.1-ocaml4.patch 1970-01-01 01:00:00.000000000 +0100
  3. +++ facile/facile-1.1-ocaml4.patch 2014-06-11 05:33:09.284730257 +0200
  4. @@ -0,0 +1,29 @@
  5. +Index: facile-1.1/src/facile.mli
  6. +===================================================================
  7. +--- facile-1.1.orig/src/facile.mli
  8. ++++ facile-1.1/src/facile.mli
  9. +@@ -127,7 +127,7 @@ module Data :
  10. + module Hashtbl :
  11. + sig
  12. + type ('a, 'b) t
  13. +- val create : int -> ('a, 'b) t
  14. ++ val create : ?random:bool -> int -> ('a, 'b) t
  15. + val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
  16. + val add : ('a, 'b) t -> 'a -> 'b -> unit
  17. + val find : ('a, 'b) t -> 'a -> 'b
  18. +Index: facile-1.1/src/fcl_data.cmi
  19. +===================================================================
  20. +Binary files facile-1.1.orig/src/fcl_data.cmi and facile-1.1/src/fcl_data.cmi differ
  21. +Index: facile-1.1/src/fcl_data.mli
  22. +===================================================================
  23. +--- facile-1.1.orig/src/fcl_data.mli
  24. ++++ facile-1.1/src/fcl_data.mli
  25. +@@ -23,7 +23,7 @@ end
  26. +
  27. + module Hashtbl : sig
  28. + type ('a, 'b) t
  29. +- val create : int -> ('a, 'b) t
  30. ++ val create : ?random:bool -> int -> ('a, 'b) t
  31. + val get : ('a, 'b) t -> ('a, 'b) Hashtbl.t
  32. + val add : ('a, 'b) t -> 'a -> 'b -> unit
  33. + val find : ('a, 'b) t -> 'a -> 'b
  34. diff -Naur facile.orig/facile.SlackBuild facile/facile.SlackBuild
  35. --- facile.orig/facile.SlackBuild 2014-06-09 12:11:46.322002819 +0200
  36. +++ facile/facile.SlackBuild 2014-06-11 05:34:33.466734626 +0200
  37. @@ -24,7 +24,7 @@
  38.  
  39. PRGNAM=facile
  40. VERSION=1.1
  41. -BUILD=${BUILD:-1}
  42. +BUILD=${BUILD:-2}
  43. TAG=${TAG:-_SBo}
  44.  
  45. if [ -z "$ARCH" ]; then
  46. @@ -69,6 +69,9 @@
  47. \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  48. -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
  49.  
  50. +# patch (thnx gentoo) to build against ocaml >= 4
  51. +patch -p1 < $CWD/facile-1.1-ocaml4.patch
  52. +
  53. mkdir -p $PKG/usr/lib$LIBDIRSUFFIX/ocaml/facile
  54.  
  55. ./configure \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement