From: John Ellson Date: Thu, 9 Apr 2020 20:18:22 +0000 (-0400) Subject: applying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch X-Git-Tag: 2.44.1~85 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=efb9c022363b5d2ea2b07942c8b4d1c60b018a8b;p=graphviz applying RH's graphviz-2.42.2-ocaml-allow-const-cast.patch --- diff --git a/tclpkg/gv/Makefile.am b/tclpkg/gv/Makefile.am index e0d037544..6114d851b 100644 --- a/tclpkg/gv/Makefile.am +++ b/tclpkg/gv/Makefile.am @@ -158,7 +158,11 @@ nodist_libgv_ocaml_la_SOURCES = gv_ocaml.cpp $(OCAML_data) libgv_ocaml_la_SOURCES = $(BASESOURCES) gv_dummy_init.c libgv_ocaml_la_LIBADD = $(BASELIBS) $(OCAML_LIBS) libgv_ocaml_la_LDFLAGS = -module -avoid-version -libgv_ocaml_la_CPPFLAGS = $(BASECPPFLAGS) $(OCAML_INCLUDES) -Dint64=int64_t -fpermissive +libgv_ocaml_la_CPPFLAGS = \ + $(BASECPPFLAGS) \ + $(OCAML_INCLUDES) \ + -Dint64=int64_t \ + -fpermissive gv.ml gv.mli: gv_ocaml.cpp gv_ocaml.cpp: gv.i $(SWIG) -c++ -ocaml -o gv_ocaml.cpp $(srcdir)/gv.i