[Pkg-ocaml-maint-commits] [ocaml-zarith] 01/02: Build plugin with -linkall (Closes: #854787)

Stéphane Glondu glondu at moszumanska.debian.org
Wed Feb 22 10:48:10 UTC 2017


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

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

commit 33837e0ed5d4361ea87fc3a4c4dacf271f33f54f
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Feb 22 11:17:16 2017 +0100

    Build plugin with -linkall (Closes: #854787)
---
 .../patches/0001-Build-plugin-with-linkall.patch   | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0001-Build-plugin-with-linkall.patch b/debian/patches/0001-Build-plugin-with-linkall.patch
new file mode 100644
index 0000000..f51fd53
--- /dev/null
+++ b/debian/patches/0001-Build-plugin-with-linkall.patch
@@ -0,0 +1,22 @@
+From: Stephane Glondu <steph at glondu.net>
+Date: Wed, 22 Feb 2017 11:15:48 +0100
+Subject: Build plugin with -linkall
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854787
+---
+ project.mak | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/project.mak b/project.mak
+index 79d5750..3bee2b0 100644
+--- a/project.mak
++++ b/project.mak
+@@ -65,7 +65,7 @@ zarith.cmxa zarith.$(LIBSUFFIX): $(MLSRC:%.ml=%.cmx)
+ 	$(OCAMLMKLIB) -failsafe -o zarith $+ $(LIBS)
+ 
+ zarith.cmxs: zarith.cmxa libzarith.$(LIBSUFFIX)
+-	$(OCAMLOPT) -shared -o $@ -I . zarith.cmxa
++	$(OCAMLOPT) -linkall -shared -o $@ -I . zarith.cmxa
+ 
+ libzarith.$(LIBSUFFIX) dllzarith.$(DLLSUFFIX): $(SSRC:%.S=%.$(OBJSUFFIX)) $(CSRC:%.c=%.$(OBJSUFFIX)) 
+ 	$(OCAMLMKLIB) -failsafe -o zarith $+ $(LIBS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ae2698f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Build-plugin-with-linkall.patch

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



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