graphviz/graphviz-ocaml-4.patch
Richard W.M. Jones 59dfa57f55 Rebuild for OCaml 4.00.0.
- Enable OCaml on arm and ppc64, since there are working native compilers
  for both.
2012-06-09 16:47:09 +01:00

23 lines
850 B
Diff

--- graphviz-2.28.0.old/tclpkg/gv/Makefile.am 2011-03-28 19:15:56.000000000 +0100
+++ graphviz-2.28.0/tclpkg/gv/Makefile.am 2012-06-09 16:37:52.421455627 +0100
@@ -111,6 +111,8 @@
gv.ml gv.mli: gv_ocaml.cpp
gv_ocaml.cpp: gv.i
$(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i
+ sed '/caml_array_length/d' < gv_ocaml.cpp > gv_ocaml.cpp.
+ mv gv_ocaml.cpp. gv_ocaml.cpp
swig.mli:
$(SWIG) -ocaml -co swig.mli
swig.ml:
--- graphviz-2.28.0.old/tclpkg/gv/Makefile.in 2011-05-07 04:27:54.000000000 +0100
+++ graphviz-2.28.0/tclpkg/gv/Makefile.in 2012-06-09 16:40:11.215092361 +0100
@@ -3362,6 +3362,8 @@
gv.ml gv.mli: gv_ocaml.cpp
gv_ocaml.cpp: gv.i
$(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i
+ sed '/caml_array_length/d' < gv_ocaml.cpp > gv_ocaml.cpp.
+ mv gv_ocaml.cpp. gv_ocaml.cpp
swig.mli:
$(SWIG) -ocaml -co swig.mli
swig.ml: