r47517 - in /packages/scilab/branches/5.5/debian: changelog patches/fix-ocaml-4.05.patch patches/series
sebastien at users.alioth.debian.org
sebastien at users.alioth.debian.org
Mon Sep 25 10:12:29 UTC 2017
Author: sebastien
Date: Mon Sep 25 10:12:29 2017
New Revision: 47517
URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47517
Log:
Release 5.5.2-6.
Added:
packages/scilab/branches/5.5/debian/patches/fix-ocaml-4.05.patch
Modified:
packages/scilab/branches/5.5/debian/changelog
packages/scilab/branches/5.5/debian/patches/series
Modified: packages/scilab/branches/5.5/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/branches/5.5/debian/changelog?rev=47517&op=diff
==============================================================================
--- packages/scilab/branches/5.5/debian/changelog (original)
+++ packages/scilab/branches/5.5/debian/changelog Mon Sep 25 10:12:29 2017
@@ -1,3 +1,11 @@
+scilab (5.5.2-6) unstable; urgency=medium
+
+ * Team upload.
+ * New patch fix-ocaml-4.05.patch, fixes FTBFS. Thanks to Stéphane Glondu.
+ (Closes: #868960)
+
+ -- Sébastien Villemot <sebastien at debian.org> Mon, 25 Sep 2017 12:11:58 +0200
+
scilab (5.5.2-5) unstable; urgency=medium
* New patch gcc-7.patch to fix FTBFS with GCC-7 (closes: #853653)
Added: packages/scilab/branches/5.5/debian/patches/fix-ocaml-4.05.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/branches/5.5/debian/patches/fix-ocaml-4.05.patch?rev=47517&op=file
==============================================================================
--- packages/scilab/branches/5.5/debian/patches/fix-ocaml-4.05.patch (added)
+++ packages/scilab/branches/5.5/debian/patches/fix-ocaml-4.05.patch Mon Sep 25 10:12:29 2017
@@ -0,0 +1,55 @@
+Description: Fix FTBFS with OCaml 4.05.0
+Author: Stéphane Glondu <glondu at debian.org>
+Bug-Debian: https://bugs.debian.org/868960
+Last-Update: 2017-07-19
+
+--- scilab-5.5.2.orig/modules/scicos/Makefile.modelica.am
++++ scilab-5.5.2/modules/scicos/Makefile.modelica.am
+@@ -98,6 +98,7 @@ MLIS_modelicac = $(MLS:.ml=.mli)
+ BASE_PATH_MODELICAC = $(srcdir)/src/modelica_compiler
+
+ INCLUDE = -I $(BASE_PATH_MODELICAC) -I $(BASE_PATH_XML2Modelica)
++INCLUDE_xml2modelica = -I $(BASE_PATH_XML2Modelica)
+
+ ########## COMMON
+ SUFFIXES += .ml .mli .mll .mly .cmo .cmi .cmx
+@@ -108,6 +109,9 @@ SUFFIXES += .ml .mli .mll .mly .cmo .cmi
+ @if echo "$<"|grep src/translator; then \
+ echo $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -c $*.ml; \
+ $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -c $*.ml; \
++ elif echo "$<"|grep src/xml2modelica; then \
++ echo $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -c $*.ml; \
++ $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -c $*.ml; \
+ else \
+ echo $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -c $*.ml; \
+ $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -c $*.ml; \
+@@ -117,6 +121,9 @@ SUFFIXES += .ml .mli .mll .mly .cmo .cmi
+ @if echo "$<"|grep src/translator; then \
+ echo $(OCAMLOPT) $(INCLUDE_modelicat) $(OCAMLOPTFLAGS) -c $*.ml; \
+ $(OCAMLOPT) $(INCLUDE_modelicat) $(OCAMLOPTFLAGS) -c $*.ml; \
++ elif echo "$<"|grep src/xml2modelica; then \
++ echo $(OCAMLOPT) $(INCLUDE_xml2modelica) $(OCAMLOPTFLAGS) -c $*.ml; \
++ $(OCAMLOPT) $(INCLUDE_xml2modelica) $(OCAMLOPTFLAGS) -c $*.ml; \
+ else \
+ echo $(OCAMLOPT) $(INCLUDE) $(OCAMLOPTFLAGS) -c $*.ml; \
+ $(OCAMLOPT) $(INCLUDE) $(OCAMLOPTFLAGS) -c $*.ml; \
+@@ -126,6 +133,9 @@ SUFFIXES += .ml .mli .mll .mly .cmo .cmi
+ @if echo "$<"|grep src/translator; then \
+ echo $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -c $<; \
+ $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -c $<; \
++ elif echo "$<"|grep src/xml2modelica; then \
++ echo $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -c $<; \
++ $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -c $<; \
+ else \
+ echo $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -c $<; \
+ $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -c $<; \
+@@ -135,6 +145,9 @@ SUFFIXES += .ml .mli .mll .mly .cmo .cmi
+ @if echo "$<"|grep src/translator; then \
+ echo $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -i $< > $@; \
+ $(OCAMLC) $(INCLUDE_modelicat) $(OCAMLCFLAGS) -i $< > $@; \
++ elif echo "$<"|grep src/xml2modelica; then \
++ echo $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -i $< > $@; \
++ $(OCAMLC) $(INCLUDE_xml2modelica) $(OCAMLCFLAGS) -i $< > $@; \
+ else \
+ echo $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -i $< > $@; \
+ $(OCAMLC) $(INCLUDE) $(OCAMLCFLAGS) -i $< > $@; \
Modified: packages/scilab/branches/5.5/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/scilab/branches/5.5/debian/patches/series?rev=47517&op=diff
==============================================================================
--- packages/scilab/branches/5.5/debian/patches/series (original)
+++ packages/scilab/branches/5.5/debian/patches/series Mon Sep 25 10:12:29 2017
@@ -14,3 +14,4 @@
hdf5-1.10-api.patch
scilab.git-f1d7f06.patch
gcc-7.patch
+fix-ocaml-4.05.patch
More information about the debian-science-commits
mailing list