diff -Nru js-of-ocaml-2.2/debian/changelog js-of-ocaml-2.2/debian/changelog --- js-of-ocaml-2.2/debian/changelog 2014-06-17 10:27:23.000000000 +0000 +++ js-of-ocaml-2.2/debian/changelog 2014-06-18 12:19:53.000000000 +0000 @@ -1,3 +1,9 @@ +js-of-ocaml (2.2-2) unstable; urgency=medium + + * Fix FTBFS on bytecode architectures + + -- Stéphane Glondu Wed, 18 Jun 2014 12:59:58 +0200 + js-of-ocaml (2.2-1) unstable; urgency=medium * New upstream release (Closes: #751693) diff -Nru js-of-ocaml-2.2/debian/libjs-of-ocaml-dev.install.in js-of-ocaml-2.2/debian/libjs-of-ocaml-dev.install.in --- js-of-ocaml-2.2/debian/libjs-of-ocaml-dev.install.in 2014-06-17 10:27:23.000000000 +0000 +++ js-of-ocaml-2.2/debian/libjs-of-ocaml-dev.install.in 2014-06-18 12:19:53.000000000 +0000 @@ -11,4 +11,4 @@ OPT: lib/syntax/pa_deriving_Json.o @OCamlStdlibDir@/js_of_ocaml DYN: @OCamlStdlibDir@/js_of_ocaml/pa_*.cmxs DYN: @OCamlStdlibDir@/js_of_ocaml/ocamlbuild_js_of_ocaml.cmxs -compiler/compiler.a @OCamlStdlibDir@/js_of_ocaml +OPT: compiler/compiler.a @OCamlStdlibDir@/js_of_ocaml diff -Nru js-of-ocaml-2.2/debian/patches/0002-Bytecode-only-support.patch js-of-ocaml-2.2/debian/patches/0002-Bytecode-only-support.patch --- js-of-ocaml-2.2/debian/patches/0002-Bytecode-only-support.patch 1970-01-01 00:00:00.000000000 +0000 +++ js-of-ocaml-2.2/debian/patches/0002-Bytecode-only-support.patch 2014-06-18 12:19:53.000000000 +0000 @@ -0,0 +1,22 @@ +From: Stephane Glondu +Date: Wed, 18 Jun 2014 11:14:55 +0200 +Subject: Bytecode-only support + +--- + compiler/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/compiler/Makefile b/compiler/Makefile +index 4d1b306..539b902 100644 +--- a/compiler/Makefile ++++ b/compiler/Makefile +@@ -3,7 +3,7 @@ include ../Makefile.conf + + all: $(COMPILER) $(MINIFIER) + +-lib: compiler.cma compiler.cmxa compiler.cmxs ++lib: compiler.cma $(if $(wildcard /usr/bin/ocamlopt),compiler.cmxa) $(if $(wildcard /usr/lib/ocaml/dynlink.cmxa),compiler.cmxs) + + PACKAGES=findlib + +-- diff -Nru js-of-ocaml-2.2/debian/patches/series js-of-ocaml-2.2/debian/patches/series --- js-of-ocaml-2.2/debian/patches/series 2014-06-17 09:56:28.000000000 +0000 +++ js-of-ocaml-2.2/debian/patches/series 2014-06-18 12:19:53.000000000 +0000 @@ -1 +1,2 @@ 0001-Fix-generation-of-compiler.cm.patch +0002-Bytecode-only-support.patch