pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/frama-c Fix build with latest ocaml. From Pascal...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/369dfab22e6a
branches:  trunk
changeset: 576583:369dfab22e6a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jun 15 08:26:54 2010 +0000

description:
Fix build with latest ocaml. From Pascal Cuoq <pascal_cuoq%hotmail.com@localhost>
on pkgsrc-users.

diffstat:

 devel/frama-c/distinfo         |   3 ++-
 devel/frama-c/patches/patch-ab |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 477e66c535a4 -r 369dfab22e6a devel/frama-c/distinfo
--- a/devel/frama-c/distinfo    Tue Jun 15 08:16:21 2010 +0000
+++ b/devel/frama-c/distinfo    Tue Jun 15 08:26:54 2010 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2009/09/11 15:09:35 tonio Exp $
+$NetBSD: distinfo,v 1.2 2010/06/15 08:26:54 wiz Exp $
 
 SHA1 (frama-c-Beryllium-20090901.tar.gz) = 17b1516e9807a9a34ab20a3413efc372549e6fed
 RMD160 (frama-c-Beryllium-20090901.tar.gz) = b29038e948b898196947cae636eef9adbea99ed6
 Size (frama-c-Beryllium-20090901.tar.gz) = 18162700 bytes
 SHA1 (patch-aa) = fbeccfdd1b90c1d72d954d4ea06309da5684f6a4
+SHA1 (patch-ab) = 3f59690f68cfe408cc5dc86adf4c2d66b361eca5
diff -r 477e66c535a4 -r 369dfab22e6a devel/frama-c/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/frama-c/patches/patch-ab    Tue Jun 15 08:26:54 2010 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1 2010/06/15 08:26:54 wiz Exp $
+
+Fix known incompatibility introduced in a recent version of OCaml.
+The following patch, taken from
+http://old.nabble.com/Bug-569260:-FTBFS:-expression-was-expected-of-type-string--%3E-string--%3E-string-td27540744.html ,
+fixes it.
+
+--- ptests/ptests.ml.orig      2009-08-31 15:38:55.000000000 +0000
++++ ptests/ptests.ml
+@@ -54,7 +54,7 @@ module Filename = struct
+       fun a b -> let r = temp_file a b in
+       cygpath r
+     else
+-      temp_file
++      (fun x y -> temp_file x y)
+ end
+ 
+ let default_env var value =



Home | Main Index | Thread Index | Old Index