]> granicus.if.org Git - graphviz/commitdiff
try to fix ocaml breakage on rawhide
authorJohn Ellson <ellson@research.att.com>
Mon, 11 Jun 2012 13:31:34 +0000 (09:31 -0400)
committerJohn Ellson <ellson@research.att.com>
Mon, 11 Jun 2012 13:31:34 +0000 (09:31 -0400)
tclpkg/gv/Makefile.am

index ecc9d257bf23fce3a782002546e84df7fa59846d..aff0af88bbc58e18d5aac106d8311712c5760811 100644 (file)
@@ -113,6 +113,9 @@ libgv_ocaml_la_CPPFLAGS = $(BASECPPFLAGS) $(OCAML_INCLUDES)
 gv.ml gv.mli: gv_ocaml.cpp
 gv_ocaml.cpp: gv.i
        $(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i
+       mv $@ $@.orig
+       sed '/int caml_array_length/mlsize_t caml_array_length/' $@.orig > $@
+       rm $@.orig
 swig.mli:
        $(SWIG) -ocaml -co swig.mli
 swig.ml: