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

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

commit d5909096b20d01a4a5483ddd90cef03a1a9a490f
Author: Stephane Glondu <st...@glondu.net>
Date:   Thu Jan 30 14:41:27 2014 +0100

    Fix test-suite with new oUnit
---
 .../0003-Fix-test-suite-with-new-oUnit.patch       | 36 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/0003-Fix-test-suite-with-new-oUnit.patch 
b/debian/patches/0003-Fix-test-suite-with-new-oUnit.patch
new file mode 100644
index 0000000..e773bee
--- /dev/null
+++ b/debian/patches/0003-Fix-test-suite-with-new-oUnit.patch
@@ -0,0 +1,36 @@
+From: Stephane Glondu <st...@glondu.net>
+Date: Thu, 30 Jan 2014 14:39:23 +0100
+Subject: Fix test-suite with new oUnit
+
+This is a part of 
https://github.com/ocaml/opam-repository/blob/master/packages/reins/reins.0.1a/files/fix_build.patch
+
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713499
+---
+ test/unit/OMakefile | 6 ++----
+ 1 file changed, 2 insertions(+), 4 deletions(-)
+
+diff --git a/test/unit/OMakefile b/test/unit/OMakefile
+index 565c83d..4ec66c9 100644
+--- a/test/unit/OMakefile
++++ b/test/unit/OMakefile
+@@ -1,9 +1,8 @@
+ 
+ TESTDIRS = list heap set map
+ 
+-OCAMLINCLUDES += \
+-      $(shell $(OCAMLFIND) query oUnit) \
+-      $(ROOT)/src
++OCAMLPACKS [] = oUnit num
++OCAMLINCLUDES += $(ROOT)/src
+ 
+ FILES[] = 
+       test_helper
+@@ -17,7 +16,6 @@ FILES[] =
+ OCAMLINCLUDES += $(TESTDIRS)
+ 
+ OCAML_LIBS = $(ROOT)/src/reins 
+-OCAML_OTHER_LIBS += str nums unix oUnit
+ TEST_PROGRAM = $(OCamlProgram run_unit_tests, $(FILES))
+ 
+ unit_tests.results: $(TEST_PROGRAM)
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index 365f15a..281c194 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-Fix-PREFIX-handling.patch
 0002-Install-cmi.patch
+0003-Fix-test-suite-with-new-oUnit.patch

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

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to