Description: Add -unsafe-string compiler option
 The default has changed from unsafe-string to safe-string
 .
 orpie (1.5.2-3) unstable; urgency=medium
 .
   * Build depend on libnum-ocaml-dev (Closes: #939963)
Author: Uwe Steinmann <steinm@debian.org>
Bug-Debian: https://bugs.debian.org/939963
Forwarded: not-needed
Last-Update: 2019-11-07

--- a/Makefile.in
+++ b/Makefile.in
@@ -45,8 +45,8 @@
 GSL_LIB    = @GSL_LIB@
 
 INCLUDES = -I ./curses -I ./gsl -I ./units
-BFLAGS   = -pp camlp4o -g $(INCLUDES) -thread
-OFLAGS   = -pp camlp4o $(INCLUDES) -thread
+BFLAGS   = -pp camlp4o -g $(INCLUDES) -thread -unsafe-string
+OFLAGS   = -pp camlp4o $(INCLUDES) -thread -unsafe-string
 BLFLAGS  = -custom -cclib '$(LDFLAGS) $(CURSES_LIB) $(GSL_LIB) -lm'
 OLFLAGS  = -cclib '$(LDFLAGS) $(CURSES_LIB) $(GSL_LIB) -lm'
 DEPFLAGS = -pp camlp4o
@@ -199,8 +199,8 @@
 gsl-byte: $(GSL_BOBJS)
 
 GSL_INCLUDES = -I ./gsl
-GSL_BFLAGS = -g $(GSL_INCLUDES) -thread
-GSL_OFLAGS = $(GSL_INCLUDES) -thread
+GSL_BFLAGS = -g $(GSL_INCLUDES) -thread -unsafe-string
+GSL_OFLAGS = $(GSL_INCLUDES) -thread -unsafe-string
 GSL_CFLAGS = @GSL_CFLAGS@ $(CPPFLAGS) $(CFLAGS) -DHAVE_INLINE -DHAVE_FENV -g -O2
 
 gsl/%.cmi : gsl/%.mli
@@ -230,8 +230,8 @@
 	$(MAKE) -C curses
 
 CURSES_INCLUDES = -I ./curses
-CURSES_BFLAGS = -g $(CURSES_INCLUDES) -thread
-CURSES_OFLAGS = $(CURSES_INCLUDES) -thread
+CURSES_BFLAGS = -g $(CURSES_INCLUDES) -thread -unsafe-string
+CURSES_OFLAGS = $(CURSES_INCLUDES) -thread -unsafe-string
 CURSES_CFLAGS = -Wall -fPIC -DPIC $(CPPFLAGS) $(CFLAGS)
 
 curses/%.cmi : curses/%.mli
@@ -255,8 +255,8 @@
 gsl-byte: $(UNITS_CMO)
 
 UNITS_INCLUDES = -I ./units
-UNITS_BFLAGS = -g $(UNITS_INCLUDES) -thread
-UNITS_OFLAGS = $(UNITS_INCLUDES) -thread
+UNITS_BFLAGS = -g $(UNITS_INCLUDES) -thread -unsafe-string
+UNITS_OFLAGS = $(UNITS_INCLUDES) -thread -unsafe-string
 
 units/%.cmi : units/%.mli
 	$(OCAMLC) -c $(UNITS_BFLAGS) $<
