[Pkg-ocaml-maint-commits] [ocaml-extunix] 01/02: Fix installation on bytecode architectures (Closes: #868721)

Stéphane Glondu glondu at moszumanska.debian.org
Thu Jul 20 13:47:18 UTC 2017


This is an automated email from the git hooks/post-receive script.

glondu pushed a commit to branch master
in repository ocaml-extunix.

commit bdfdd004099ae0e848c6ab4b329cae6a80074966
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Jul 20 15:43:38 2017 +0200

    Fix installation on bytecode architectures (Closes: #868721)
---
 ...ix-installation-on-bytecode-architectures.patch | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0002-Fix-installation-on-bytecode-architectures.patch b/debian/patches/0002-Fix-installation-on-bytecode-architectures.patch
new file mode 100644
index 0000000..f2865cc
--- /dev/null
+++ b/debian/patches/0002-Fix-installation-on-bytecode-architectures.patch
@@ -0,0 +1,22 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Thu, 20 Jul 2017 15:42:43 +0200
+Subject: Fix installation on bytecode architectures
+
+Bug-Debian: https://bugs.debian.org/868721
+---
+ setup.ml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.ml b/setup.ml
+index ada592d..d0949be 100644
+--- a/setup.ml
++++ b/setup.ml
+@@ -2442,7 +2442,7 @@ module OASISLibrary = struct
+       if bs.bs_c_sources <> [] then begin
+         ["lib"^cs.cs_name^"_stubs"^ext_lib]
+         ::
+-        if has_native_dynlink then
++        if true || has_native_dynlink then
+           ["dll"^cs.cs_name^"_stubs"^ext_dll] :: acc_nopath
+         else
+           acc_nopath
diff --git a/debian/patches/series b/debian/patches/series
index 9d3591a..632066a 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Add-possibility-to-disable-execinfo-test-through-env.patch
+0002-Fix-installation-on-bytecode-architectures.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/ocaml-extunix.git



More information about the Pkg-ocaml-maint-commits mailing list