[Pkg-ocaml-maint-commits] [ocaml-sha] 08/09: patch Makefile for building tests

Eric Cooper ecc at cmu.edu
Sat Nov 2 16:52:42 UTC 2013


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

ecc-guest pushed a commit to branch master
in repository ocaml-sha.

commit 3e156205ad6953c6ee465ac7eaec3f2a640b8d8f
Author: Eric Cooper <ecc at cmu.edu>
Date:   Sat Nov 2 12:16:55 2013 -0400

    patch Makefile for building tests
---
 ...-change-compiler-flags-for-building-tests.patch |   26 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 2 files changed, 27 insertions(+)

diff --git a/debian/patches/0006-change-compiler-flags-for-building-tests.patch b/debian/patches/0006-change-compiler-flags-for-building-tests.patch
new file mode 100644
index 0000000..affbedd
--- /dev/null
+++ b/debian/patches/0006-change-compiler-flags-for-building-tests.patch
@@ -0,0 +1,26 @@
+From 624d6580d5d6f9108af01d310e51dd887179a9c8 Mon Sep 17 00:00:00 2001
+From: Eric Cooper <ecc at cmu.edu>
+Date: Sat, 2 Nov 2013 12:15:46 -0400
+Subject: [PATCH] change compiler flags for building tests
+
+Signed-off-by: Eric Cooper <ecc at cmu.edu>
+---
+ Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 334847d..7ab1a4c 100644
+--- a/Makefile
++++ b/Makefile
+@@ -21,7 +21,7 @@ endif
+ 
+ OCAMLOPTFLAGS =
+ 
+-OCAML_TEST_INC = -I `ocamlfind query oUnit`
++OCAML_TEST_INC = -I `ocamlfind query oUnit` -I . -w -24
+ OCAML_TEST_LIB = `ocamlfind query oUnit`/oUnit.cmxa
+ 
+ PROGRAMS_BINS = sha1sum sha256sum sha512sum
+-- 
+1.8.4.rc3
+
diff --git a/debian/patches/series b/debian/patches/series
index 6a13560..f8f1111 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-use-internal-ccopts-variable.patch
 0004-add-all-byte-and-install-byte-targets.patch
 0005-include-string.h-in-C-stubs-to-silence-gcc-warnings.patch
+0006-change-compiler-flags-for-building-tests.patch

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



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